flash.moe/public/css/2019.css
2020-08-20 00:02:37 +00:00

849 lines
16 KiB
CSS

@import "electrolize/style.css";
@import "noto-sans/style.css";
@import "fa/css/all.min.css";
:root {
--background-colour: #111;
--text-colour: #fff;
--page-max-width: 1024px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
outline-style: none;
}
html,
body {
width: 100%;
height: 100%;
}
html {
scrollbar-color: var(--accent-colour) var(--background-colour);
}
body {
font: 12px/20px 'Noto Sans', sans-serif;
background-color: var(--background-colour);
color: var(--text-colour);
}
.wrapper {
max-width: var(--page-max-width);
width: 100%;
margin: 0 auto;
}
.link {
color: inherit;
text-decoration: none;
}
.link:hover,
.link:focus {
text-decoration: underline;
}
.header {
box-shadow: 0 1px 5px #101010;
}
.header__background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--accent-colour);
background-image: linear-gradient(0deg, #292929, transparent);
}
.header__wrapper {
max-width: var(--page-max-width);
width: 100%;
margin: 0 auto;
}
.header__logo {
font-family: 'Electrolize', sans-serif;
font-size: 3em;
line-height: 1.5em;
text-shadow: 0 1px 5px #111;
padding: 0 10px;
color: inherit;
text-decoration: none;
transition: text-shadow .2s;
}
.header__logo:hover,
.header__logo:focus {
text-shadow: 0 1px 8px #111;
}
.header__logo:active {
text-shadow: 0 1px 6px #111;
}
.header__logo__highlight {
color: var(--accent-colour);
}
.header__items {
}
.header__item {
color: inherit;
text-decoration: none;
min-width: 80px;
text-align: center;
font-size: 1.2em;
line-height: 2em;
display: inline-block;
transition: background-color .2s;
margin: 5px;
border-radius: 5px;
padding: 0 10px;
}
.header__item:hover,
.header__item:focus {
background-color: rgba(255, 255, 255, .2);
}
.header__item:active {
background-color: rgba(255, 255, 255, .1);
}
.footer {
}
.footer__link {
color: inherit;
text-decoration: none;
}
.footer__link:hover,
.footer__link:focus {
text-decoration: underline;
}
.footer__background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.footer__wrapper {
max-width: var(--page-max-width);
width: 100%;
margin: 0 auto;
text-align: center;
padding: 10px;
color: rgba(255, 255, 255, .6);
}
.index {
/*background-image: url('../assets/misaka-2.png');*/
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right top;
padding-top: 5px;
}
.index__main {
overflow: hidden;
}
.index__side {
float: left;
width: 300px;
margin-right: 5px;
}
@media(max-width: 700px) {
.index__side {
float: none;
width: auto;
margin-right: 0;
}
}
.index__header {
align-items: center;
padding: 10px;
border-radius: 5px;
}
.index__header__avatar {
display: inline-block;
float: right;
box-shadow: 0 1px 5px #111;
width: 60px;
height: 60px;
border-radius: 5px;
}
.index__header__text {
padding-left: 5px;
}
.index__header__name {
font-family: 'Electrolize', sans-serif;
font-size: 3em;
line-height: 1em;
flex: 0 0 auto;
text-shadow: 0 1px 5px #111;
padding-top: 2px;
}
.index__header__name__highlight {
color: var(--accent-colour);
}
.index__header__slogan {
display: inline-block;
text-shadow: 0 1px 5px #111;
font-style: italic;
font-size: .9em;
line-height: 1em;
}
.index__header__slogan::before {
content: "“";
}
.index__header__slogan::after {
content: "”";
}
.index__navigation {
padding: 3px;
}
.index__navigation__link {
display: block;
text-shadow: 0 0 2px #111;
color: inherit;
text-decoration: none;
font-size: 1.5em;
padding: 8px;
margin: 2px;
border-radius: 5px;
transition: background-color .2s;
}
.index__navigation__link:hover,
.index__navigation__link:focus {
background-color: rgba(255, 255, 255, .2);
}
.index__navigation__link:active {
background-color: rgba(255, 255, 255, .1);
}
.index__accounts {
margin-bottom: 5px;
padding: 3px;
}
.index__accounts::after {
content: "";
display: block;
clear: both;
}
.index__account {
color: inherit;
text-decoration: none;
font-size: 1.5em;
padding: 5px;
margin: 2px;
text-shadow: 0 0 2px #111;
transition: background-color .2s;
border-radius: 5px;
display: inline-block;
align-items: center;
width: 143px;
float: left;
}
.index__account:hover,
.index__account:focus {
background-color: rgba(255, 255, 255, .2);
}
.index__account:active {
background-color: rgba(255, 255, 255, .1);
}
.index__account__icon {
display: inline-block;
text-align: center;
width: 25px;
height: 25px;
line-height: 25px;
padding-right: 5px;
}
.index__account__title {
display: inline-block;
}
.index__link {
display: block;
color: inherit;
text-decoration: none;
padding: 5px;
text-align: center;
width: 100%;
text-shadow: 0 1px 5px #111;
transition: background-color .2s;
}
.index__link:hover,
.index__link:focus {
background-color: rgba(255, 255, 255, .2);
}
.index__link:active {
background-color: rgba(255, 255, 255, .1);
}
.index__blog {
padding: 5px 10px;
background: #212121;
border-radius: 5px;
margin-bottom: 5px;
}
@media(max-width: 700px) {
.index__blog:first-child {
margin-top: 0;
}
}
.index__blog__title {
line-height: 1.5em;
border-bottom: 1px solid #aaa;
}
.index__blog__paragraph {
line-height: 1.5em;
margin: 5px 0;
}
.index__blog__paragraph a {
color: #55c;
text-decoration: none;
}
.index__blog__paragraph a:hover,
.index__blog__paragraph a:focus {
text-decoration: underline;
}
.index__blog__paragraph a:active {
color: #c22;
}
.index__blog__continue {
background: #2a2a2a;
padding: 2px 5px;
color: inherit;
text-decoration: none;
margin: 5px 0;
display: inline-block;
border-radius: 5px;
transition: background .2s;
}
a.index__blog__continue:hover,
a.index__blog__continue:focus {
background: #393939;
}
a.index__blog__continue:active {
background: #202020;
}
.index__blog__more {
background: #2a2a2a;
padding: 2px 5px;
color: inherit;
text-decoration: none;
display: block;
border-radius: 5px;
text-align: center;
font-size: 1.2em;
line-height: 2em;
transition: background .2s;
}
.index__blog__more:hover,
.index__blog__more:focus {
background: #393939;
}
.index__blog__more:active {
background: #202020;
}
.index__playing {
padding: 5px 10px;
margin-bottom: 5px;
border-radius: 5px;
}
.index__playing__header {
font-size: 1.5em;
line-height: 1.5em;
}
.index__playing__content {
display: flex;
padding: 5px 0;
}
.index__playing__content--hidden {
display: none;
}
.index__playing__cover {
display: inline-block;
background-image: url('//now.flash.moe/resources/no-cover.png');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
box-shadow: 0 1px 5px #111;
width: 60px;
height: 60px;
border-radius: 5px;
flex: 0 0 auto;
}
.index__playing__text {
flex: 1 1 auto;
padding-left: 10px;
display: flex;
flex-direction: column;
justify-content: center;
}
.index__playing__title {
font-size: 2em;
line-height: 1.3em;
flex: 0 0 auto;
text-shadow: 0 1px 5px #111;
display: inline-block;
color: inherit;
text-decoration: none;
}
.index__playing__artist {
display: inline-block;
text-shadow: 0 1px 5px #111;
line-height: 1.5em;
text-decoration: none;
color: inherit;
margin-top: 2px;
}
.index__playing__title:hover,
.index__playing__title:active,
.index__playing__artist:hover,
.index__playing__artist:active {
text-decoration: underline;
}
.index__affil {
padding: 5px 10px;
margin-bottom: 5px;
border-radius: 5px;
display: block;
color: inherit;
text-decoration: none;
transition: background .2s;
}
.index__affil:hover,
.index__affil:focus {
background: #292929;
}
.index__affil:active {
background: #1C1C1C;
}
.index__affil--flashii:hover,
.index__affil--flashii:focus {
background: #3e294b;
}
.index__affil--flashii:active {
background: #2a1e32;
}
.index__affil__name {
font-size: 2em;
line-height: 1.5em;
}
.twitter-button {
display: inline-flex;
align-items: center;
background-color: var(--accent-colour);
color: #fff;
border-radius: 4px;
border: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
text-decoration: none;
padding: 10px;
margin: 10px auto;
cursor: pointer;
}
.twitter-button__icon {
font-size: 2em;
padding-right: 10px;
flex: 0 0 auto;
}
.twitter-button__text {
font-size: 1.2em;
flex: 1 1 auto;
}
.twitter-index {
text-align: center;
}
.twitter-index__text {
width: 100%;
max-width: 400px;
text-align: left;
margin: 10px auto;
}
.misc-links {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-auto-flow: row dense;
grid-gap: 5px;
margin: 5px;
}
@media(max-width: 800px) {
.misc-links {
grid-template-columns: 1fr 1fr;
}
}
@media(max-width: 500px) {
.misc-links {
grid-template-columns: 1fr;
}
}
.misc-link {
display: block;
padding: 5px 10px;
background: #2a2a2a;
border-radius: 5px;
color: inherit;
text-decoration: none;
transition: background .2s;
}
.misc-link:hover,
.misc-link:focus {
background: #393939;
}
.misc-link:active {
background: #202020;
}
.misc-link__title {
line-height: 1.5em;
}
.description {
display: block;
padding: 5px 10px;
background: #212121;
border-radius: 5px;
margin: 5px;
}
.description__title {
line-height: 1.5em;
}
.projects__header {
display: block;
padding: 5px 10px;
border-radius: 5px;
margin: 5px;
font-size: 2em;
line-height: 1.5em;
text-align: center;
}
.projects__listing {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-auto-flow: row dense;
grid-gap: 5px;
margin: 5px;
}
@media(max-width: 800px) {
.projects__listing {
grid-template-columns: 1fr 1fr;
}
}
@media(max-width: 500px) {
.projects__listing {
grid-template-columns: 1fr;
}
}
.projects-header {
display: block;
padding: 5px 10px;
margin: 5px;
font-size: 2em;
line-height: 1.5em;
}
.projects-listing {
display: flex;
flex-wrap: wrap;
}
.project {
display: flex;
flex-direction: column;
padding: 5px 10px;
background: #212121;
border-radius: 5px;
color: inherit;
text-decoration: none;
transition: background .2s;
}
.project-v2 {
background-color: #212121;
border-radius: 5px;
color: #fff;
padding: 1px;
margin: 3px;
width: 335px;
min-height: 200px;
}
.project-inner {
display: flex;
flex-direction: column;
height: 100%;
padding: 5px 10px;
border-radius: 5px;
background-color: #212121;
background-color: rgba(0, 0, 0, .7);
}
.project-name,
.project__name {
line-height: 1.5em;
}
.project-description,
.project__description {
flex: 1 1 auto;
}
.project__languages {
display: flex;
margin: 1px 0;
}
.project-languages,
.project-links {
display: flex;
margin: 1px 0px;
}
.project-language {
padding: 2px 10px 1px;
margin: 2px;
border-radius: 50px;
background: #2a2a2a;
text-align: center;
border: 1px solid #2a2a2a;
display: inline-block;
}
.project__language {
padding: 1px 10px;
margin: 2px;
border-radius: 50px;
background: #2a2a2a;
text-align: center;
border: 1px solid var(--language-colour);
}
.project-link {
padding: 2px 10px;
margin: 2px;
border-radius: 50px;
background: #2a2a2a;
text-align: center;
color: inherit;
text-decoration: none;
transition: background .2s;
}
.project-link:hover,
.project-link:focus {
background: #393939;
}
.project-link:active {
background: #202020;
}
.project__links {
display: flex;
margin: 1px 0;
}
.project__link {
padding: 2px 10px;
margin: 2px;
border-radius: 50px;
background: #2a2a2a;
text-align: center;
color: inherit;
text-decoration: none;
transition: background .2s;
}
.project__link:hover,
.project__link:focus {
background: #393939;
}
.project__link:active {
background: #202020;
}
.blog-comments {
display: flex;
}
.blog-comment {
margin: 10px 0;
}
.blog-comment__container {
display: flex;
}
.blog-comment__avatar {
width: 40px;
height: 40px;
border-radius: 5px;
flex: 0 0 auto;
background-color: #fff;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
display: block;
box-sizing: content-box;
align-self: flex-end;
}
.blog-comment-listing--0 > .blog-comment > .blog-comment__container > .blog-comment__avatar {
width: 50px;
height: 50px;
}
.blog-comment__pointer {
width: 0;
height: 0;
border-style: solid;
border-width: 10px 10px 0 0;
border-color: transparent #eee transparent transparent;
flex: 0 0 auto;
margin-left: 5px;
align-self: flex-end;
}
.blog-comment__content {
background-color: #eee;
color: #000;
border-radius: 5px 5px 5px 0;
flex: 1 1 auto;
padding: 2px 5px;
}
.blog-comment__info {
display: flex;
}
.blog-comment__author {
font-weight: 600;
}
.blog-comment__created:not(:first-child):before {
content: " \00B7 ";
white-space: pre;
}
.blog-comment-listing {
flex: 1 1 auto;
}
.blog-comment-listing--1,
.blog-comment-listing--2,
.blog-comment-listing--3,
.blog-comment-listing--4,
.blog-comment-listing--5 {
margin-left: 20px;
}
.twitter-user-cards {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 2px;
}
.twitter-user-card {
display: inline-block;
width: 290px;
overflow: hidden;
background-color: #222;
border-radius: 5px;
margin: 2px;
}
.twitter-user-card img {
max-width: 100%;
max-height: 100%;
}
.twitter-user-card-content {
margin: 10px;
margin-top: -40px;
}
.twitter-user-card-header {
display: block;
overflow: hidden;
}
.twitter-user-card-avatar {
width: 70px;
height: 70px;
border-radius: 10%;
display: block;
overflow: hidden;
border: 2px solid #333;
overflow: hidden;
}
.twitter-user-card-display-name {
font-family: 'Electrolize', sans-serif;
font-size: 1.4em;
font-weight: 700;
display: block;
color: inherit;
text-decoration: none;
margin-top: 5px;
}
.twitter-user-card-screen-name {
color: #999;
display: block;
text-decoration: none;
}
.twitter-user-card-display-name:hover,
.twitter-user-card-display-name:active,
.twitter-user-card-display-name:focus,
.twitter-user-card-screen-name:hover,
.twitter-user-card-screen-name:active,
.twitter-user-card-screen-name:focus {
text-decoration: underline;
}
.twitter-user-card-stats {
display: flex;
justify-content: center;
}
.twitter-user-card-stat {
color: inherit;
text-decoration: none;
text-align: center;
padding: 5px;
}
.twitter-user-card-stat-name {
color: #999;
font-size: 1.1em;
}
.twitter-user-card-stat-value {
font-size: 1.4em;
}
.login-form {
margin: 10px auto;
max-width: 300px;
display: block;
padding: 5px 10px;
background: #212121;
border-radius: 5px;
}
.login-form h1 {
font-weight: 400;
text-align: center;
line-height: 1.5em;
}
.login-form input[type="text"],
.login-form input[type="password"] {
border: 1px solid #333;
background: #191919;
border-radius: 5px;
padding: 5px;
color: #fff;
width: 100%;
margin: 5px 0;
transition: border-color .2s;
}
.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
border-color: var(--accent-colour);
}
.login-form button,
.login-form a {
padding: 5px;
width: 100px;
margin: 0 auto;
display: block;
text-align: center;
text-decoration: none;
cursor: pointer;
color: #fff;
border: 0;
border-radius: 5px;
background-color: #444;
transition: background-color .2s;
}
.login-form button:hover,
.login-form button:focus,
.login-form button:active,
.login-form a:hover,
.login-form a:focus,
.login-form a:active {
background-color: var(--accent-colour);
}