portal/assets/css/custom.css
2021-04-10 13:55:19 +02:00

191 lines
2.7 KiB
CSS

---
layout: none
---
@keyframes blink
{
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}
* {
outline: none;
color: #ff9400;
}
body {
font-size: 12px;
display: flex;
flex-flow: column;
height: 100%;
background-color: black;
}
img {
max-width: 100% !important;
}
.portrait{
float: right;
width: 150px;
height: 150px;
background-color: rgba(255,148,0,0.1);
background-size: contain;
background-repeat: no-repeat;
background-image: url({{site.baseurl}}/assets/images/yui.png);
filter: brightness(80%);
background-position: center right;
border-style: inset;
border-color: #ad6603;
margin-left: 10px;
}
/* header */
header {
display: flex;
padding-left: 20px;
padding-right: 20px;
}
header * {
color: #ff7e00 !important;
font-size: 2rem !important;
}
/* nav */
nav {
line-height: 2rem;
padding-left: 20px;
padding-right: 20px;
}
nav a {
color: #705000 !important;
padding-right: 12px;
font-size: 1rem;
font-weight: bold;
}
nav a:hover {
color: #FFBE00 !important;
}
a.a-active {
color: #FFBE00 !important;
}
/* main */
main.post-list {
display: grid;
grid-gap: 0.4rem;
line-height: 1.5rem;
padding-left: 20px;
padding-right: 20px;
}
main.about{
line-height: 1.5rem;
padding-left: 20px;
padding-right: 20px;
}
main.content {
padding-left: 20px;
padding-right: 20px;
}
main a:hover {
background-color: #632a02;
width: max-content;
}
.title {
color: #ff7e00;
font-size: 18px;
font-weight: bold;
display: grid;
}
.content a {
text-decoration: underline;
}
.post-list a {
position: relative;
color: #FFBE00 !important;
padding-bottom: 10px;
}
.post-list a:hover:after {
content: "_";
animation: blink 1s infinite;
}
.asciiart {
white-space: pre;
line-height: normal;
}
.welcome{
padding-top: 90px;
font-size: large;
text-align: center;
}
.headline{
padding-top: 20px;
padding-bottom: 10px;
font-size: large;
}
/* footer */
footer {
font-weight: bold;
color: #ffd300;
font-size: xx-small;
padding-top:20px;
padding-left: 20px;
padding-right: 20px;
}
@media screen and (max-width: 780px) {
.screen {
position: unset !important;
width: 100% !important;
height: 100% !important;
}
.screen-image { display: none; }
.screen-content {
position: unset !important;
top: 0px !important;
left: 0px !important;
width: auto !important;
height: 100% !important;
}
.headline, .title, .meta, .content, nav, nav a {
font-size: 0.5rem;
}
h1, h2, h3, h4, h5, h6 {
font-size: 0.8rem !important;
}
.crt-flicker, .crt-scanlines {
display: none !important;
}
.asciiart {
font-size: 0.5rem !important;
}
.portrait {
float: none;
margin: auto !important;
}
}