portal/assets/css/custom.css

169 lines
2.1 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
{
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}
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;
2020-01-25 13:03:42 +01:00
display: flex;
flex-flow: column;
height: 100%;
2020-01-25 20:23:41 +01:00
background-color: black;
2020-01-25 13:03:42 +01:00
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
.wrap-left{
float: right;
margin-left: 10px;
}
2020-01-26 16:50:35 +01:00
.imageframe{
background-color: rgba(255,148,0,0.1);
top: 0;
left :0;
border-style: inset;
border-color: #ad6603;
text-align: right;
}
2020-01-26 14:03:17 +01:00
.portrait{
width: 150px;
height: 150px;
background-size: contain;
background-repeat: no-repeat;
background-image: url(/neko/crt/assets/images/yui.png);
filter: hue-rotate(-100deg);
2020-01-26 16:50:35 +01:00
background-position: center right;
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;
}
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;
padding-bottom: 10px;
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: 128px;
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
}
/* 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;
2019-11-25 12:40:08 +01:00
}
@media screen and (max-width: 780px) {
nav,
header,
footer,
main {
margin-left: 10%;
margin-right: 10%;
}
}