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');
|
|
|
|
|
2020-06-16 18:40:51 +00:00
|
|
|
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
|
|
|
|
|
2019-11-08 20:59:26 +00:00
|
|
|
@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 {
|
2020-06-16 18:40:51 +00:00
|
|
|
@apply py-4;
|
2019-11-13 11:50:52 +00:00
|
|
|
}
|
2021-03-10 17:41:31 +00:00
|
|
|
header a:hover {
|
|
|
|
@apply no-underline;
|
|
|
|
}
|
2021-03-10 17:19:06 +00:00
|
|
|
a:hover {
|
|
|
|
@apply underline;
|
|
|
|
}
|
2019-11-13 11:50:52 +00:00
|
|
|
/* 2. Site Header */
|
|
|
|
.index-navbar {
|
2020-11-11 04:54:56 +00:00
|
|
|
top: 0;
|
2019-11-13 11:50:52 +00:00
|
|
|
z-index: 10;
|
2020-11-11 04:54:56 +00:00
|
|
|
width: 100vw;
|
|
|
|
height: 4rem;
|
|
|
|
overflow: hidden;
|
|
|
|
@apply fixed transition-all duration-300 ease-in-out;
|
2019-11-08 20:59:26 +00:00
|
|
|
}
|
2020-11-11 04:54:56 +00:00
|
|
|
.index-navbar.enabled {
|
|
|
|
height: 100vh;
|
2019-11-09 06:03:26 +00:00
|
|
|
}
|
2020-11-11 04:54:56 +00:00
|
|
|
.index-navbar header {
|
|
|
|
z-index: 12;
|
|
|
|
@apply transition duration-300 ease-in-out h-full;
|
2020-12-26 07:25:58 +00:00
|
|
|
}
|
|
|
|
.index-navbar.enabled header {
|
|
|
|
background-color: rgba(0,0,0,0.5);
|
|
|
|
}
|
|
|
|
.index-navbar.detached header {
|
2020-11-11 04:54:56 +00:00
|
|
|
background-color: rgba(0,0,0,0.5);
|
2020-06-16 10:47:02 +00:00
|
|
|
}
|
2019-11-09 06:03:26 +00:00
|
|
|
.index-header {
|
2020-11-11 11:46:22 +00:00
|
|
|
min-height: 200px;
|
2020-11-13 09:09:42 +00:00
|
|
|
height: 70vh;
|
2020-11-11 11:46:22 +00:00
|
|
|
}
|
|
|
|
@screen md {
|
|
|
|
.index-header {
|
|
|
|
min-height: 300px;
|
|
|
|
height: 70vh;
|
|
|
|
}
|
2020-06-16 10:47:02 +00:00
|
|
|
}
|
2020-11-13 09:09:42 +00:00
|
|
|
.index-header.large {
|
|
|
|
height: 90vh;
|
|
|
|
}
|
2019-11-25 19:25:00 +00:00
|
|
|
.no-image {
|
|
|
|
@apply bg-yuika-blue-500
|
|
|
|
}
|
2019-11-12 17:51:01 +00:00
|
|
|
|
2020-11-11 04:54:56 +00:00
|
|
|
.site-title {
|
|
|
|
@apply flex flex-row transition duration-300 ease-in-out;
|
|
|
|
}
|
2020-06-16 18:40:51 +00:00
|
|
|
.site-head {
|
2021-03-17 03:32:53 +00:00
|
|
|
@apply flex flex-row flex-grow transition duration-300 ease-in-out;
|
2020-06-16 18:40:51 +00:00
|
|
|
}
|
2021-03-17 03:32:53 +00:00
|
|
|
.site-head a {
|
2021-03-17 03:47:19 +00:00
|
|
|
@apply flex flex-row py-2 items-center transition duration-300 ease-in-out h-16 inline-block px-4;
|
2021-03-17 03:32:53 +00:00
|
|
|
}
|
|
|
|
.site-head a:hover {
|
2020-06-16 18:40:51 +00:00
|
|
|
@apply bg-yuika-blue-500;
|
|
|
|
}
|
2020-11-11 04:54:56 +00:00
|
|
|
.site-background {
|
|
|
|
position: absolute;
|
2020-12-26 07:25:58 +00:00
|
|
|
opacity: 0%;
|
2020-11-11 04:54:56 +00:00
|
|
|
top: -23vh;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
@apply transition-all duration-300 ease-in-out;
|
|
|
|
}
|
|
|
|
.index-navbar.enabled .site-background {
|
2020-12-26 07:25:58 +00:00
|
|
|
opacity: 100%;
|
2020-11-11 04:54:56 +00:00
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
.main-container {
|
2020-12-26 07:25:58 +00:00
|
|
|
@apply relative;
|
2020-11-11 04:54:56 +00:00
|
|
|
}
|
2019-11-12 17:51:01 +00:00
|
|
|
/* 3. Content Styling */
|
2019-11-08 20:59:26 +00:00
|
|
|
#post p {
|
2020-06-16 18:40:51 +00:00
|
|
|
@apply my-4;
|
2019-11-08 20:59:26 +00:00
|
|
|
}
|
|
|
|
#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
|
|
|
}
|
2020-06-16 18:40:51 +00:00
|
|
|
#post a:hover {
|
|
|
|
@apply underline;
|
|
|
|
}
|
2019-11-25 19:25:00 +00:00
|
|
|
#post ul {
|
|
|
|
@apply list-disc;
|
|
|
|
}
|
|
|
|
#post ol {
|
|
|
|
@apply list-decimal;
|
|
|
|
}
|
|
|
|
#post code {
|
2020-06-16 18:40:51 +00:00
|
|
|
@apply bg-gray-200 text-yuika-blue-700 whitespace-pre-wrap;
|
2019-11-25 19:25:00 +00:00
|
|
|
}
|
|
|
|
#post blockquote {
|
2020-06-16 18:40:51 +00:00
|
|
|
@apply border-l-4 border-yuika-blue-700 pl-8 py-2 my-8;
|
2019-11-25 19:25:00 +00:00
|
|
|
}
|
|
|
|
#post pre {
|
2020-06-16 18:40:51 +00:00
|
|
|
@apply bg-gray-200 text-yuika-blue-700 px-2 py-2 px-2 border border-yuika-blue-500 my-8;
|
2019-11-25 19:25:00 +00:00
|
|
|
}
|
2019-11-08 20:59:26 +00:00
|
|
|
#post .kg-card {
|
2020-06-16 18:40:51 +00:00
|
|
|
@apply py-4 flex flex-col items-center object-contain my-8 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 {
|
2020-06-16 18:40:51 +00:00
|
|
|
min-width: 100vw;
|
|
|
|
}
|
|
|
|
@screen md {
|
|
|
|
#post .kg-gallery-container {
|
|
|
|
min-width: 115%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@screen lg {
|
|
|
|
#post .kg-gallery-container {
|
|
|
|
min-width: 125%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@screen xl {
|
|
|
|
#post .kg-gallery-container {
|
|
|
|
min-width: 140%;
|
|
|
|
}
|
2019-11-08 20:59:26 +00:00
|
|
|
}
|
2020-06-16 18:40:51 +00:00
|
|
|
|
2019-11-08 20:59:26 +00:00
|
|
|
#post .kg-gallery-row {
|
|
|
|
@apply flex flex-row;
|
|
|
|
}
|
|
|
|
#post .kg-gallery-image {
|
|
|
|
@apply mx-1;
|
2020-06-16 18:40:51 +00:00
|
|
|
flex: 1 1 0%;
|
2019-11-08 20:59:26 +00:00
|
|
|
}
|
|
|
|
|
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 {
|
2020-11-11 04:54:56 +00:00
|
|
|
@apply flex flex-row justify-between text-black border-l-4 border-yuika-blue-700 bg-white transition duration-300 ease-in-out;
|
2019-11-09 19:00:39 +00:00
|
|
|
}
|
|
|
|
#post .kg-bookmark-container:hover {
|
2020-11-11 04:54:56 +00:00
|
|
|
@apply bg-gray-400 transition duration-300 ease-in-out;
|
2019-11-09 13:19:36 +00:00
|
|
|
}
|
|
|
|
#post .kg-bookmark-content {
|
|
|
|
@apply w-2/3 py-4 px-4;
|
|
|
|
}
|
|
|
|
#post .kg-bookmark-thumbnail {
|
2020-06-16 18:40:51 +00:00
|
|
|
min-width: 33.3333%;
|
|
|
|
@apply max-h-full relative;
|
2019-11-09 13:19:36 +00:00
|
|
|
}
|
|
|
|
#post .kg-bookmark-thumbnail img {
|
2020-06-16 18:40:51 +00:00
|
|
|
@apply absolute top-0 left-0 h-full w-full object-cover;
|
2019-11-09 13:19:36 +00:00
|
|
|
}
|
|
|
|
#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 */
|
|
|
|
|
2020-06-16 18:40:51 +00:00
|
|
|
.nav-group {
|
2020-11-12 19:46:42 +00:00
|
|
|
@apply flex flex-col h-full;
|
2020-06-16 18:40:51 +00:00
|
|
|
}
|
2020-11-11 04:54:56 +00:00
|
|
|
#menushow {
|
2021-01-08 20:27:29 +00:00
|
|
|
@apply cursor-pointer w-16 h-16 relative px-2 py-2 transition duration-300 ease-in-out text-center whitespace-nowrap;
|
2020-06-16 18:40:51 +00:00
|
|
|
}
|
2020-11-11 04:54:56 +00:00
|
|
|
#menushow:hover {
|
2020-06-16 18:40:51 +00:00
|
|
|
@apply bg-yuika-blue-500
|
|
|
|
}
|
2019-11-08 21:35:37 +00:00
|
|
|
.nav {
|
2020-11-11 04:54:56 +00:00
|
|
|
background: transparent;
|
|
|
|
@apply flex-col w-full pl-0 my-0;
|
2019-11-14 08:25:28 +00:00
|
|
|
top: 100%;
|
2019-11-08 21:35:37 +00:00
|
|
|
}
|
|
|
|
.nav li {
|
2020-11-11 11:08:44 +00:00
|
|
|
@apply w-full flex flex-row justify-start items-center my-0 text-white text-base h-12 transition duration-300 ease-in-out;
|
2019-11-09 19:00:39 +00:00
|
|
|
}
|
2020-11-13 09:09:42 +00:00
|
|
|
.nav li.separator {
|
|
|
|
height: 0;
|
2021-03-10 17:19:06 +00:00
|
|
|
@apply border border-white border-t opacity-75;
|
2020-11-13 09:09:42 +00:00
|
|
|
}
|
2019-11-09 19:00:39 +00:00
|
|
|
.nav li a {
|
2020-06-16 18:40:51 +00:00
|
|
|
@apply align-middle w-full h-full flex items-center justify-start px-4 py-2;
|
2019-11-08 21:35:37 +00:00
|
|
|
}
|
2021-03-10 17:19:06 +00:00
|
|
|
.nav li a:hover {
|
|
|
|
@apply no-underline;
|
|
|
|
}
|
2019-11-25 19:25:00 +00:00
|
|
|
.nav li:hover {
|
2020-11-11 04:54:56 +00:00
|
|
|
@apply bg-yuika-blue-500 transition duration-300 ease-in-out;
|
2019-11-25 19:25:00 +00:00
|
|
|
}
|
2019-11-08 21:35:37 +00:00
|
|
|
@screen md {
|
|
|
|
.nav {
|
2020-11-11 04:54:56 +00:00
|
|
|
@apply pl-16;
|
2019-11-09 19:00:39 +00:00
|
|
|
}
|
2019-11-08 21:35:37 +00:00
|
|
|
}
|
2019-11-09 06:03:26 +00:00
|
|
|
|
2019-11-12 17:51:01 +00:00
|
|
|
.post-article {
|
2020-06-17 03:42:30 +00:00
|
|
|
@apply pb-32 pt-4;
|
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 */
|
2020-06-16 18:40:51 +00:00
|
|
|
.post-card {
|
2020-11-11 04:54:56 +00:00
|
|
|
|
2020-11-11 05:07:41 +00:00
|
|
|
}
|
|
|
|
.post-image-box {
|
|
|
|
@apply relative;
|
|
|
|
width: 100%;
|
2020-11-11 05:14:57 +00:00
|
|
|
overflow: hidden;
|
2020-11-11 04:54:56 +00:00
|
|
|
}
|
|
|
|
@screen md {
|
2020-11-11 05:07:41 +00:00
|
|
|
.post-image-box {
|
2020-11-11 05:14:57 +00:00
|
|
|
width: 35vw;
|
2020-11-11 05:07:41 +00:00
|
|
|
min-width: 300px;
|
|
|
|
max-width: 450px;
|
2020-11-11 04:54:56 +00:00
|
|
|
}
|
2019-11-25 19:25:00 +00:00
|
|
|
}
|
2020-11-11 05:07:41 +00:00
|
|
|
.post-image-box::after {
|
|
|
|
@apply block;
|
|
|
|
content: '';
|
|
|
|
padding-bottom: 56.25%;
|
|
|
|
}
|
|
|
|
.post-image {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2019-11-25 19:25:00 +00:00
|
|
|
.primary-tag-header {
|
2020-11-11 04:54:56 +00:00
|
|
|
@apply bg-blue-700 w-auto inline-block px-2 py-1 text-white text-sm transition duration-300 ease-in-out;
|
2020-06-16 10:47:02 +00:00
|
|
|
}
|
|
|
|
.primary-tag-header:hover {
|
2020-11-11 19:54:23 +00:00
|
|
|
@apply transition-all duration-300 ease-in-out underline;
|
2019-11-25 19:25:00 +00:00
|
|
|
}
|
2020-11-12 15:42:39 +00:00
|
|
|
|
2020-11-11 19:54:23 +00:00
|
|
|
.tag-accent-color {
|
2020-11-11 20:40:31 +00:00
|
|
|
@apply inline-block rounded-full align-text-bottom h-12 w-12;
|
2020-11-11 19:54:23 +00:00
|
|
|
}
|
2020-11-12 15:42:39 +00:00
|
|
|
.tag-accent-color.small {
|
|
|
|
@apply h-4 w-4;
|
|
|
|
}
|
|
|
|
.tag-accent-color.medium {
|
|
|
|
@apply h-6 w-6;
|
2019-11-25 19:25:00 +00:00
|
|
|
}
|
2020-11-11 19:54:23 +00:00
|
|
|
.author-image {
|
2020-11-11 20:40:31 +00:00
|
|
|
@apply inline-block rounded-full align-text-bottom h-12 w-12;
|
|
|
|
}
|
|
|
|
@screen md {
|
|
|
|
.tag-accent-color {
|
|
|
|
@apply h-16 w-16;
|
|
|
|
}
|
|
|
|
.author-image {
|
|
|
|
@apply h-16 w-16;
|
|
|
|
}
|
2020-11-11 19:54:23 +00:00
|
|
|
}
|
2020-06-16 10:47:02 +00:00
|
|
|
.author-list {
|
2020-06-16 18:40:51 +00:00
|
|
|
@apply flex flex-row items-center my-2 py-2;
|
2020-06-16 10:47:02 +00:00
|
|
|
}
|
|
|
|
.author-images {
|
|
|
|
@apply flex flex-row;
|
|
|
|
}
|
|
|
|
.author-names {
|
|
|
|
@apply flex-grow flex flex-col;
|
|
|
|
}
|
2020-11-11 19:54:23 +00:00
|
|
|
.author-names a:hover {
|
|
|
|
@apply underline;
|
|
|
|
}
|
2020-06-16 10:47:02 +00:00
|
|
|
|
2020-06-16 18:40:51 +00:00
|
|
|
/* 6. Post feed */
|
|
|
|
.post-feed {
|
2021-01-08 20:27:29 +00:00
|
|
|
@apply grid grid-cols-1 gap-y-4 my-8;
|
2020-06-16 18:40:51 +00:00
|
|
|
}
|
|
|
|
|
2020-11-13 09:09:42 +00:00
|
|
|
/* 7. Subscribe form */
|
|
|
|
#subscribe-form .message-success {
|
|
|
|
@apply hidden;
|
|
|
|
}
|
|
|
|
#subscribe-form.success .message-success {
|
|
|
|
@apply block;
|
|
|
|
}
|
|
|
|
#subscribe-form .message-error {
|
|
|
|
@apply hidden;
|
|
|
|
}
|
|
|
|
#subscribe-form.error .message-error {
|
|
|
|
@apply block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 8. Default transitions */
|
2019-11-08 20:59:26 +00:00
|
|
|
@tailwind components;
|
|
|
|
|
|
|
|
@tailwind utilities;
|
|
|
|
|