portal/assets/css/custom.css

204 lines
2.8 KiB
CSS
Raw Normal View History

2020-01-26 14:03:17 +01:00
---
layout: none
---
2020-01-25 01:48:39 +01:00
@keyframes blink
{
2021-04-09 23:25:39 +02:00
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
2020-01-25 01:48:39 +01:00
}
2019-11-25 12:01:33 +01:00
* {
outline: none;
2020-01-25 01:48:39 +01:00
color: #ff9400;
2019-11-25 12:01:33 +01:00
}
2020-01-25 01:48:39 +01:00
2019-11-25 12:01:33 +01:00
body {
2020-01-25 01:48:39 +01:00
font-size: 12px;
2021-04-09 23:25:39 +02:00
display: flex;
flex-flow: column;
height: 100%;
background-color: black;
2019-11-25 12:01:33 +01:00
}
2019-11-25 14:58:20 +01:00
img {
max-width: 100% !important;
}
2020-01-26 14:03:17 +01:00
.portrait{
float: right;
2021-04-09 23:25:39 +02:00
width: 150px;
height: 150px;
background-color: rgba(255,148,0,0.1);
2021-04-09 23:25:39 +02:00
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;
2020-01-26 14:03:17 +01:00
}
2019-11-25 12:01:33 +01:00
/* header */
header {
display: flex;
2020-01-25 18:22:54 +01:00
padding-left: 20px;
padding-right: 20px;
2019-11-25 12:01:33 +01:00
}
header * {
2020-01-25 01:48:39 +01:00
color: #ff7e00 !important;
2019-11-25 12:01:33 +01:00
font-size: 2rem !important;
}
/* nav */
nav {
line-height: 2rem;
2020-01-25 18:22:54 +01:00
padding-left: 20px;
padding-right: 20px;
2019-11-25 12:01:33 +01:00
}
nav a {
2020-01-25 01:48:39 +01:00
color: #705000 !important;
padding-right: 12px;
2019-11-25 12:01:33 +01:00
font-size: 1rem;
font-weight: bold;
}
nav a:hover {
2020-01-25 01:48:39 +01:00
color: #FFBE00 !important;
}
a.a-active {
color: #FFBE00 !important;
2019-11-25 12:01:33 +01:00
}
/* main */
2020-01-26 14:03:17 +01:00
main.post-list {
2019-11-25 12:01:33 +01:00
display: grid;
2020-01-25 01:48:39 +01:00
grid-gap: 0.4rem;
2019-11-25 12:01:33 +01:00
line-height: 1.5rem;
2020-01-25 18:22:54 +01:00
padding-left: 20px;
padding-right: 20px;
2019-11-25 12:01:33 +01:00
}
2020-01-26 14:03:17 +01:00
main.about{
line-height: 1.5rem;
padding-left: 20px;
padding-right: 20px;
}
main.content {
padding-left: 20px;
padding-right: 20px;
}
2021-04-10 13:33:52 +02:00
main a:hover {
2021-04-10 13:56:19 +02:00
background-color: #632a0299;
2021-04-10 13:55:19 +02:00
width: max-content;
2021-04-10 13:33:52 +02:00
}
2020-01-25 01:48:39 +01:00
.title {
color: #ff7e00;
font-size: 18px;
font-weight: bold;
display: grid;
}
2019-11-25 12:40:08 +01:00
.content a {
2019-11-25 12:01:33 +01:00
text-decoration: underline;
}
.post-list a {
position: relative;
2020-01-25 01:48:39 +01:00
color: #FFBE00 !important;
2019-11-25 12:01:33 +01:00
}
.post-list a:hover:after {
2020-01-25 01:48:39 +01:00
content: "_";
animation: blink 1s infinite;
2019-11-25 12:01:33 +01:00
}
2020-01-25 22:56:59 +01:00
.asciiart {
white-space: pre;
line-height: normal;
}
.welcome{
padding-top: 90px;
2020-01-25 22:56:59 +01:00
font-size: large;
text-align: center;
}
2020-01-26 01:58:08 +01:00
.headline{
padding-top: 20px;
padding-bottom: 10px;
font-size: large;
2019-11-25 12:01:33 +01:00
}
2021-04-11 00:58:38 +02:00
h2.blog-head {
margin-bottom: 0px;
}
2021-04-11 00:56:32 +02:00
p.blog-date {
margin-top: 20px;
margin-bottom: 0px;
}
p.blog-post {
margin: 0px;
}
2019-11-25 12:01:33 +01:00
/* footer */
footer {
font-weight: bold;
2020-01-25 01:48:39 +01:00
color: #ffd300;
2020-01-26 01:58:08 +01:00
font-size: xx-small;
padding-top:20px;
2020-01-25 18:22:54 +01:00
padding-left: 20px;
padding-right: 20px;
2021-04-10 00:29:23 +02:00
}
@media screen and (max-width: 780px) {
.screen {
position: unset !important;
width: 100% !important;
height: 100% !important;
2021-04-10 00:29:23 +02:00
}
.screen-image { display: none; }
.screen-content {
position: unset !important;
top: 0px !important;
left: 0px !important;
width: auto !important;
2021-04-10 00:37:24 +02:00
height: 100% !important;
2021-04-10 00:29:23 +02:00
}
.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;
}
2021-04-10 00:37:24 +02:00
.asciiart {
font-size: 0.5rem !important;
}
2021-04-10 13:30:13 +02:00
.portrait {
2021-04-10 13:29:38 +02:00
float: none;
margin: auto !important;
}
2021-04-10 00:29:23 +02:00
}