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

197 lines
No EOL
3.7 KiB
CSS

@import "exo2/style.css";
@import "2016-lite.css";
* {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
}
html,
body {
height: 100%;
width: 100%;
}
body {
background: #111;
color: #fff;
font: 12px/20px "Exo 2", sans-serif;
}
.background {
background: none no-repeat center / cover #000000;
z-index: -1;
position: fixed;
height: 100%;
width: 100%;
}
.footer {
text-align: center;
color: #888;
font-size: .9em;
font-weight: 300;
margin: 10px;
opacity: .5;
}
.footer__link {
color: #66a;
text-decoration: none;
}
.footer__link:hover {
text-decoration: underline;
}
.footer__link:active {
color: #a66;
}
.header {
width: 100%;
background: #3c3c3c;
box-shadow: 0 0 5px rgba(51, 51, 51, 0.8);
border: 0;
border-bottom-width: 2px;
border-color: #333333;
border-style: solid;
font-size: 3em;
font-weight: 200;
}
@media (max-width: 768px) {
.header {
text-align: center;
}
}
.header--index {
border-top-width: 2px;
}
.header__inner {
max-width: 1024px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
line-height: 50px;
}
@media (max-width: 768px) {
.header__inner {
flex-direction: column;
align-items: stretch;
}
}
.header__logo {
display: block;
color: inherit;
background: #333333;
text-shadow: 0 0 3px #fcfcfc;
text-decoration: none;
padding: 0 16px;
transition: background 0.2s, text-shadow 0.2s;
}
.header__logo:hover {
text-shadow: 0 0 5px #fcfcfc;
}
.header__logo:active {
background: #292929;
}
.header__menu {
display: inline-flex;
}
@media (max-width: 768px) {
.header__menu {
justify-content: center;
}
}
.nav-item {
background: #303030;
text-align: center;
color: inherit;
text-decoration: none;
margin-left: 1px;
display: inline-flex;
justify-content: flex-start;
align-items: center;
height: 48px;
max-width: 48px;
overflow: hidden;
transition: text-shadow 0.2s, max-width .5s;
}
@media (max-width: 768px) {
.nav-item {
flex-grow: 2;
}
}
.nav-item__icon {
padding-top: 4px;
min-width: 48px;
}
.nav-item__name {
font-size: .75em;
padding: 0 10px 0 5px;
font-weight: 200;
}
@media (max-width: 768px) {
.nav-item__name {
font-size: 0 !important;
padding: 0 !important;
}
}
@media (min-width: 768px) {
.nav-item:hover {
max-width: 200px;
}
}
.nav-item:hover {
text-shadow: 0 0 5px #fcfcfc;
}
.nav-item:active {
text-shadow: 0 0 7px #fcfcfc;
}
.accent--blog .header {
box-shadow: 0 0 5px rgba(74, 54, 80, 0.8);
border-color: #2d9940;
}
.accent--blog .header__logo {
background: #2d9940;
}
.accent--blog .header__logo:active {
background: #1c8830;
}
.accent--satoko .header {
box-shadow: 0 0 5px rgba(118, 70, 117, 0.8);
border-color: #764675;
}
.accent--satoko .header__logo {
background: #764675;
}
.accent--satoko .header__logo:active {
background: #693e68;
}
.accent--flash .header {
box-shadow: 0 0 5px rgba(74, 54, 80, 0.8);
border-color: #4a3650;
}
.accent--flash .header__logo {
background: #4a3650;
}
.accent--flash .header__logo:active {
background: #3f2e44;
}
.accent--ninechan .header {
box-shadow: 0 0 5px rgba(157, 170, 217, 0.8);
border-color: #9daad9;
}
.accent--ninechan .header__logo {
background: #9daad9;
}
.accent--ninechan .header__logo:active {
background: #8e9dd3;
}
.accent--kotori .header {
box-shadow: 0 0 5px rgba(193, 162, 133, 0.8);
border-color: #c1a285;
}
.accent--kotori .header__logo {
background: #c1a285;
}
.accent--kotori .header__logo:active {
background: #ba9877;
}