Yuika/assets/built/styles.css

1050 lines
16 KiB
CSS

@import url('https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap');
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
margin: 0;
}
/**
* Render the `main` element consistently in IE.
*/
main {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
/* Text-level semantics
========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
strong {
font-weight: bolder;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
/**
* Add the correct font size in all browsers.
*/
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
/* Embedded content
========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input {
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input { /* 1 */
overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button { /* 1 */
text-transform: none;
}
/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
/**
* Remove the default vertical scrollbar in IE 10+.
*/
/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
/*
* Add the correct display in all browsers.
*/
/* Misc
========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
display: none;
}
/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}
/**
* Manually forked from SUIT CSS Base: https://github.com/suitcss/base
* A thin layer on top of normalize.css that provides a starting point more
* suitable for web applications.
*/
/**
* 1. Prevent padding and border from affecting element width
* https://goo.gl/pYtbK7
* 2. Change the default font family in all browsers (opinionated)
*/
html {
box-sizing: border-box; /* 1 */
font-family: sans-serif; /* 2 */
}
*,
*::before,
*::after {
box-sizing: inherit;
}
/**
* Removes the default spacing and border for appropriate elements.
*/
h1,
p {
margin: 0;
}
button {
background: transparent;
padding: 0;
}
/**
* Work around a Firefox/IE bug where the transparent `button` background
* results in a loss of the default `button` focus styles.
*/
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}
/**
* Tailwind custom reset styles
*/
/**
* 1. Use the system font stack as a sane default.
* 2. Use Tailwind's default "normal" line-height so the user isn't forced
* to override it to ensure consistency even when using the default theme.
*/
html {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 1 */
line-height: 1.5; /* 2 */
}
/**
* Allow adding a border to an element by just adding a border-width.
*
* By default, the way the browser specifies that an element should have no
* border is by setting it's border-style to `none` in the user-agent
* stylesheet.
*
* In order to easily add borders to elements by just setting the `border-width`
* property, we change the default border-style for all elements to `solid`, and
* use border-width to hide them instead. This way our `border` utilities only
* need to set the `border-width` property instead of the entire `border`
* shorthand, making our border utilities much more straightforward to compose.
*
* https://github.com/tailwindcss/tailwindcss/pull/116
*/
*,
*::before,
*::after {
border-width: 0;
border-style: solid;
border-color: #e2e8f0;
}
/*
* Ensure horizontal rules are visible by default
*/
/**
* Undo the `border-style: none` reset that Normalize applies to images so that
* our `border-{width}` utilities have the expected effect.
*
* The Normalize reset is unnecessary for us since we default the border-width
* to 0 on all elements.
*
* https://github.com/tailwindcss/tailwindcss/issues/362
*/
img {
border-style: solid;
}
input::-webkit-input-placeholder {
color: #a0aec0;
}
input::-moz-placeholder {
color: #a0aec0;
}
input:-ms-input-placeholder {
color: #a0aec0;
}
input::-ms-input-placeholder {
color: #a0aec0;
}
input::placeholder {
color: #a0aec0;
}
button,
[role="button"] {
cursor: pointer;
}
h1 {
font-size: inherit;
font-weight: inherit;
}
/**
* Reset links to optimize for opt-in styling instead of
* opt-out.
*/
a {
color: inherit;
text-decoration: inherit;
}
/**
* Reset form element properties that are easy to forget to
* style explicitly so you don't inadvertently introduce
* styles that deviate from your design system. These styles
* supplement a partial reset that is already applied by
* normalize.css.
*/
button,
input {
padding: 0;
line-height: inherit;
color: inherit;
}
/**
* Use the configured 'mono' font family for elements that
* are expected to be rendered with a monospace font, falling
* back to the system monospace stack if there is no configured
* 'mono' font family.
*/
/**
* Make replaced elements `display: block` by default as that's
* the behavior you want almost all of the time. Inspired by
* CSS Remedy, with `svg` added as well.
*
* https://github.com/mozdevs/cssremedy/issues/14
*/
img,
svg,
video,
canvas,
iframe,
embed,
object {
display: block;
vertical-align: middle;
}
/**
* Constrain images and videos to the parent width and preserve
* their instrinsic aspect ratio.
*
* https://github.com/mozdevs/cssremedy/issues/14
*/
img,
video {
max-width: 100%;
height: auto;
}
*, *::before, *::after{
--transition-duration: 250ms;
}
html {
font-family: "Exo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
header {
background-color: #3b90c6;
padding-top: 1rem;
padding-bottom: 1rem;
padding-left: 1rem;
padding-right: 1rem;
}
.index-navbar header {
background-color: transparent;
}
.index-header {
min-height: 300px;
height: 50vh;
}
#post p {
margin-top: 0.75rem;
margin-bottom: 0.75rem;
}
#post h1 {
margin-top: 1rem;
margin-bottom: 1rem;
font-size: 2.25rem;
font-weight: 300;
}
#post a {
color: #3b90c6;
text-decoration: underline;
}
footer {
background-color: #3b90c6;
padding-top: 1rem;
padding-bottom: 1rem;
padding-left: 1rem;
padding-right: 1rem;
}
.nav {
display: none;
display: -webkit-box;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: column;
width: 100%;
display: none;
}
.nav li {
display: -webkit-box;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-direction: row;
-webkit-box-pack: start;
justify-content: flex-start;
-webkit-box-align: center;
align-items: center;
height: 3rem;
margin-top: 0;
margin-bottom: 0;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
color: #fff;
font-size: 0.875rem;
padding-left: 0.5rem;
padding-right: 0.5rem;
}
@media (min-width: 768px) {
.nav {
width: auto;
display: block;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-direction: row;
}
.nav li {
-o-object-fit: contain;
object-fit: contain;
-webkit-box-pack: center;
justify-content: center;
-webkit-box-align: center;
align-items: center;
border-bottom-width: 0;
border-top-width: 0;
margin-top: 0;
margin-bottom: 0;
display: inline-block;
padding-left: 1rem;
padding-right: 1rem;
}
}
.nav-fixed {
background-color: #3b90c6;
z-index: 10;
}
.container{
width: 100%;
}
@media (min-width: 640px){
.container{
max-width: 640px;
}
}
@media (min-width: 768px){
.container{
max-width: 768px;
}
}
@media (min-width: 1024px){
.container{
max-width: 1024px;
}
}
@media (min-width: 1280px){
.container{
max-width: 1280px;
}
}
.bg-black{
background-color: #000;
}
.bg-red-500{
background-color: #f56565;
}
.bg-green-500{
background-color: #48bb78;
}
.bg-blue-500{
background-color: #4299e1;
}
.bg-center{
background-position: center;
}
.bg-cover{
background-size: cover;
}
.rounded-full{
border-radius: 9999px;
}
.cursor-pointer{
cursor: pointer;
}
.block{
display: block;
}
.inline-block{
display: inline-block;
}
.inline{
display: inline;
}
.flex{
display: -webkit-box;
display: flex;
}
.flex-row{
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-direction: row;
}
.flex-col{
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: column;
}
.flex-wrap{
flex-wrap: wrap;
}
.items-end{
-webkit-box-align: end;
align-items: flex-end;
}
.items-center{
-webkit-box-align: center;
align-items: center;
}
.justify-end{
-webkit-box-pack: end;
justify-content: flex-end;
}
.justify-center{
-webkit-box-pack: center;
justify-content: center;
}
.justify-between{
-webkit-box-pack: justify;
justify-content: space-between;
}
.flex-grow{
-webkit-box-flex: 1;
flex-grow: 1;
}
.font-light{
font-weight: 300;
}
.h-8{
height: 2rem;
}
.h-12{
height: 3rem;
}
.h-16{
height: 4rem;
}
.h-40{
height: 10rem;
}
.h-64{
height: 16rem;
}
.h-full{
height: 100%;
}
.h-screen{
height: 100vh;
}
.my-2{
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.my-4{
margin-top: 1rem;
margin-bottom: 1rem;
}
.my-6{
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
.mx-12{
margin-left: 3rem;
margin-right: 3rem;
}
.mx-auto{
margin-left: auto;
margin-right: auto;
}
.mt-0{
margin-top: 0;
}
.ml-1{
margin-left: 0.25rem;
}
.mt-2{
margin-top: 0.5rem;
}
.mr-2{
margin-right: 0.5rem;
}
.mr-3{
margin-right: 0.75rem;
}
.mt-4{
margin-top: 1rem;
}
.mb-4{
margin-bottom: 1rem;
}
.ml-4{
margin-left: 1rem;
}
.object-contain{
-o-object-fit: contain;
object-fit: contain;
}
.opacity-50{
opacity: 0.5;
}
.group:hover .group-hover\:opacity-75{
opacity: 0.75;
}
.py-1{
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.py-2{
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.px-2{
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.px-3{
padding-left: 0.75rem;
padding-right: 0.75rem;
}
.py-6{
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
.px-6{
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.fixed{
position: fixed;
}
.absolute{
position: absolute;
}
.relative{
position: relative;
}
.top-0{
top: 0;
}
.bottom-0{
bottom: 0;
}
.resize{
resize: both;
}
.text-right{
text-align: right;
}
.text-black{
color: #000;
}
.text-white{
color: #fff;
}
.text-blue-500{
color: #4299e1;
}
.text-xs{
font-size: 0.75rem;
}
.text-sm{
font-size: 0.875rem;
}
.text-base{
font-size: 1rem;
}
.text-lg{
font-size: 1.125rem;
}
.text-xl{
font-size: 1.25rem;
}
.text-2xl{
font-size: 1.5rem;
}
.text-3xl{
font-size: 1.875rem;
}
.text-6xl{
font-size: 4rem;
}
.w-auto{
width: auto;
}
.w-1\/3{
width: 33.333333%;
}
.w-full{
width: 100%;
}
.w-screen{
width: 100vw;
}
.transition-opacity{
-webkit-transition-property: opacity;
transition-property: opacity;
-webkit-transition-duration: 250ms;
transition-duration: 250ms;
-webkit-transition-duration: var(--transition-duration);
transition-duration: var(--transition-duration);
}
@media (min-width: 768px){
.md\:bg-black{
background-color: #000;
}
.md\:hidden{
display: none;
}
.md\:flex-row{
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-direction: row;
}
.md\:items-center{
-webkit-box-align: center;
align-items: center;
}
.md\:flex-grow{
-webkit-box-flex: 1;
flex-grow: 1;
}
.md\:h-16{
height: 4rem;
}
.md\:h-64{
height: 16rem;
}
.md\:mx-auto{
margin-left: auto;
margin-right: auto;
}
.md\:mt-0{
margin-top: 0;
}
.md\:mb-0{
margin-bottom: 0;
}
.md\:opacity-50{
opacity: 0.5;
}
.group:hover .md\:group-hover\:opacity-75{
opacity: 0.75;
}
.md\:py-2{
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.md\:px-6{
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.md\:absolute{
position: absolute;
}
.md\:bottom-0{
bottom: 0;
}
.md\:text-white{
color: #fff;
}
.group:hover .md\:group-hover\:text-gray-300{
color: #e2e8f0;
}
.md\:text-4xl{
font-size: 2.25rem;
}
.md\:w-1\/2{
width: 50%;
}
.md\:w-4\/5{
width: 80%;
}
}
@media (min-width: 1024px){
.lg\:w-4\/6{
width: 66.666667%;
}
}