2019-11-09 21:10:51 +00:00
|
|
|
|
2019-11-08 20:59:26 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap');
|
|
|
|
|
|
|
|
@tailwind base;
|
2019-11-12 17:51:01 +00:00
|
|
|
|
|
|
|
/* 1. Base Styling */
|
2019-11-08 20:59:26 +00:00
|
|
|
html {
|
|
|
|
@apply font-sans;
|
|
|
|
}
|
|
|
|
header {
|
2019-11-13 11:50:52 +00:00
|
|
|
@apply py-4 px-4;
|
|
|
|
}
|
|
|
|
/* 2. Site Header */
|
|
|
|
.index-navbar {
|
|
|
|
z-index: 10;
|
|
|
|
@apply transition-bg;
|
2019-11-08 20:59:26 +00:00
|
|
|
}
|
2019-11-09 06:03:26 +00:00
|
|
|
.index-navbar header {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
.index-header {
|
|
|
|
min-height: 300px;
|
|
|
|
height: 50vh;
|
|
|
|
}
|
2019-11-08 20:59:26 +00:00
|
|
|
|
2019-11-25 19:25:00 +00:00
|
|
|
.no-image {
|
|
|
|
@apply bg-yuika-blue-500
|
|
|
|
}
|
2019-11-12 17:51:01 +00:00
|
|
|
|
|
|
|
/* 3. Content Styling */
|
2019-11-08 20:59:26 +00:00
|
|
|
#post p {
|
|
|
|
@apply my-3;
|
|
|
|
}
|
|
|
|
#post h1 {
|
|
|
|
@apply my-4 text-4xl font-light;
|
|
|
|
}
|
|
|
|
#post h2 {
|
|
|
|
@apply my-4 text-3xl font-light;
|
|
|
|
}
|
|
|
|
#post h3 {
|
|
|
|
@apply my-4 text-2xl font-light;
|
|
|
|
}
|
|
|
|
#post h4 {
|
|
|
|
@apply my-4 text-xl font-light;
|
|
|
|
}
|
|
|
|
#post h5 {
|
|
|
|
@apply my-4 text-lg font-light;
|
|
|
|
}
|
|
|
|
#post h6 {
|
|
|
|
@apply my-4 text-base font-light;
|
|
|
|
}
|
|
|
|
#post a {
|
2019-11-12 17:51:01 +00:00
|
|
|
@apply text-yuika-blue-700;
|
2019-11-08 20:59:26 +00:00
|
|
|
}
|
2019-11-25 19:25:00 +00:00
|
|
|
#post ul {
|
|
|
|
@apply list-disc;
|
|
|
|
}
|
|
|
|
#post ol {
|
|
|
|
@apply list-decimal;
|
|
|
|
}
|
|
|
|
#post code {
|
|
|
|
@apply bg-gray-200 text-yuika-blue-700;
|
|
|
|
}
|
|
|
|
#post blockquote {
|
|
|
|
@apply border-l-4 border-yuika-blue-700 pl-8;
|
|
|
|
}
|
|
|
|
#post pre {
|
|
|
|
@apply bg-gray-200 text-yuika-blue-700 px-2 py-2 border border-yuika-blue-500;
|
|
|
|
}
|
2019-11-08 20:59:26 +00:00
|
|
|
#post .kg-card {
|
2019-11-10 06:35:39 +00:00
|
|
|
@apply py-4 flex flex-col items-center object-contain my-4 mx-0;
|
2019-11-08 20:59:26 +00:00
|
|
|
}
|
2019-11-09 17:57:34 +00:00
|
|
|
#post .kg-card .kg-image {
|
|
|
|
@apply w-full;
|
|
|
|
}
|
|
|
|
#post .kg-width-wide .kg-image {
|
|
|
|
min-width: 100vw;
|
|
|
|
}
|
|
|
|
@screen md {
|
|
|
|
#post .kg-width-wide .kg-image {
|
2019-11-09 21:10:51 +00:00
|
|
|
min-width: 115%;
|
2019-11-09 17:57:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@screen lg {
|
|
|
|
#post .kg-width-wide .kg-image {
|
2019-11-09 21:10:51 +00:00
|
|
|
min-width: 125%;
|
2019-11-09 17:57:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@screen xl {
|
|
|
|
#post .kg-width-wide .kg-image {
|
|
|
|
min-width: 140%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#post .kg-width-full .kg-image {
|
|
|
|
min-width: 100vw;
|
|
|
|
}
|
2019-11-08 20:59:26 +00:00
|
|
|
#post .kg-card figcaption {
|
|
|
|
@apply text-sm text-gray-800 mt-2;
|
|
|
|
}
|
|
|
|
|
|
|
|
#post .kg-gallery-container {
|
|
|
|
|
|
|
|
}
|
|
|
|
#post .kg-gallery-row {
|
|
|
|
@apply flex flex-row;
|
|
|
|
}
|
|
|
|
#post .kg-gallery-image {
|
|
|
|
@apply mx-1;
|
|
|
|
}
|
|
|
|
|
2019-11-09 13:19:36 +00:00
|
|
|
#post .kg-bookmark-card {
|
|
|
|
@apply text-black;
|
|
|
|
}
|
2019-11-25 19:25:00 +00:00
|
|
|
|
2019-11-09 13:19:36 +00:00
|
|
|
#post .kg-bookmark-container {
|
2019-11-09 19:00:39 +00:00
|
|
|
@apply flex flex-row justify-between text-black border border-gray-500 bg-white transition-bg;
|
|
|
|
}
|
|
|
|
#post .kg-bookmark-container:hover {
|
|
|
|
@apply bg-gray-400 transition-bg;
|
2019-11-09 13:19:36 +00:00
|
|
|
}
|
|
|
|
#post .kg-bookmark-content {
|
|
|
|
@apply w-2/3 py-4 px-4;
|
|
|
|
}
|
|
|
|
#post .kg-bookmark-thumbnail {
|
|
|
|
@apply w-1/3 h-full;
|
|
|
|
}
|
|
|
|
#post .kg-bookmark-thumbnail img {
|
|
|
|
@apply w-full h-full object-cover;
|
|
|
|
}
|
|
|
|
#post .kg-bookmark-title {
|
|
|
|
@apply font-medium text-xl no-underline mb-1;
|
|
|
|
}
|
|
|
|
#post .kg-bookmark-description {
|
|
|
|
@apply font-light text-sm my-2;
|
|
|
|
}
|
|
|
|
#post .kg-bookmark-metadata {
|
|
|
|
@apply flex flex-row items-start justify-end h-6 my-4;
|
|
|
|
}
|
|
|
|
#post .kg-bookmark-icon {
|
|
|
|
@apply h-full mx-2;
|
|
|
|
}
|
|
|
|
#post .kg-bookmark-author {
|
|
|
|
@apply text-sm text-blue-700 truncate;
|
|
|
|
}
|
|
|
|
#post .kg-bookmark-publisher {
|
|
|
|
@apply text-sm text-blue-700 truncate;
|
|
|
|
}
|
2019-11-08 20:59:26 +00:00
|
|
|
footer {
|
2019-11-12 17:51:01 +00:00
|
|
|
@apply py-4 px-4 bg-yuika-blue-700;
|
2019-11-08 20:59:26 +00:00
|
|
|
}
|
|
|
|
|
2019-11-09 19:00:39 +00:00
|
|
|
|
2019-11-12 17:51:01 +00:00
|
|
|
/* 4. Navbar */
|
|
|
|
|
2019-11-08 21:35:37 +00:00
|
|
|
.nav {
|
2019-11-14 08:25:28 +00:00
|
|
|
@apply hidden flex-col w-full pl-0 my-0 absolute bg-yuika-blue-700 left-0 right-0;
|
|
|
|
top: 100%;
|
2019-11-08 21:35:37 +00:00
|
|
|
}
|
|
|
|
.nav li {
|
2019-11-25 19:25:00 +00:00
|
|
|
@apply flex flex-row justify-start items-center my-0 py-2 text-white text-sm px-2 h-12 px-4 transition-bg;
|
2019-11-09 19:00:39 +00:00
|
|
|
}
|
|
|
|
.nav li a {
|
|
|
|
@apply align-middle w-full table-cell;
|
2019-11-09 19:12:06 +00:00
|
|
|
line-height: 2rem;
|
2019-11-08 21:35:37 +00:00
|
|
|
}
|
2019-11-25 19:25:00 +00:00
|
|
|
.nav li:hover {
|
|
|
|
@apply bg-yuika-blue-700 transition-bg;
|
|
|
|
}
|
2019-11-09 19:00:39 +00:00
|
|
|
|
2019-11-08 21:35:37 +00:00
|
|
|
@screen md {
|
|
|
|
.nav {
|
2019-11-09 19:00:39 +00:00
|
|
|
@apply block static w-auto flex-row h-12 bg-transparent;
|
2019-11-08 21:35:37 +00:00
|
|
|
}
|
2019-11-08 22:01:26 +00:00
|
|
|
.nav li {
|
2019-11-09 19:00:39 +00:00
|
|
|
@apply object-contain justify-center items-center border-b-0 border-t-0 my-0 inline-block h-full;
|
|
|
|
}
|
2019-11-08 21:35:37 +00:00
|
|
|
}
|
2019-11-09 06:03:26 +00:00
|
|
|
|
|
|
|
.nav-fixed {
|
2019-11-12 17:51:01 +00:00
|
|
|
@apply bg-yuika-blue-700;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-article {
|
2019-11-12 18:08:03 +00:00
|
|
|
@apply pb-32;
|
2019-11-09 06:03:26 +00:00
|
|
|
}
|
2019-11-11 18:07:59 +00:00
|
|
|
|
|
|
|
.content {
|
2019-11-12 17:51:01 +00:00
|
|
|
@apply mx-auto;
|
|
|
|
}
|
|
|
|
.content-full {
|
2019-11-14 08:00:00 +00:00
|
|
|
@apply px-4;
|
2019-11-11 18:07:59 +00:00
|
|
|
}
|
2019-11-12 17:51:01 +00:00
|
|
|
@screen sm {
|
|
|
|
.content-full {
|
|
|
|
@apply px-8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@screen md {
|
|
|
|
.content-full {
|
|
|
|
@apply px-16;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@screen lg {
|
|
|
|
.content-full {
|
|
|
|
@apply px-32;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@screen xl {
|
|
|
|
.content-full {
|
|
|
|
@apply px-64;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-25 19:25:00 +00:00
|
|
|
/* 5. Post Card */
|
2019-11-25 19:41:31 +00:00
|
|
|
.post-background {
|
|
|
|
height: 18rem;
|
|
|
|
}
|
2019-11-25 19:25:00 +00:00
|
|
|
.post-card .excerpt {
|
2019-11-25 19:46:31 +00:00
|
|
|
max-height: 5.5rem;
|
2019-11-25 19:25:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.primary-tag-header {
|
|
|
|
@apply bg-green-700 w-auto inline-block px-2 py-1 text-white text-sm;
|
|
|
|
}
|
|
|
|
.tag-header {
|
|
|
|
@apply bg-blue-700 w-auto inline-block px-2 py-1 text-white text-sm;
|
|
|
|
}
|
|
|
|
.author-header {
|
|
|
|
@apply bg-red-700 w-auto inline-block px-2 py-1 text-white text-sm;
|
|
|
|
}
|
2019-11-08 20:59:26 +00:00
|
|
|
@tailwind components;
|
|
|
|
|
|
|
|
@tailwind utilities;
|
|
|
|
|