portal/assets/css/custom.css
Patrick Tschuchnig 7292149022 effect changes
2020-01-25 18:22:54 +01:00

136 lines
1.6 KiB
CSS

@keyframes blink
{
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}
* {
outline: none;
color: #ff9400;
}
body {
font-size: 12px;
background: #241c11 !important;
display: flex;
flex-flow: column;
height: 100%;
}
img {
max-width: 100% !important;
}
/* 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 {
display: grid;
grid-gap: 0.4rem;
line-height: 1.5rem;
padding-left: 20px;
padding-right: 20px;
}
.title {
color: #ff7e00;
font-size: 18px;
font-weight: bold;
display: grid;
}
.content a {
text-decoration: underline;
}
.post-list a {
text-decoration: none;
position: relative;
color: #FFBE00 !important;
padding-bottom: 10px;
}
.post-list a:after {
content: "";
position: absolute;
left: auto;
transition: 0.4s;
}
.post-list a:hover:after {
content: "_";
animation: blink 1s infinite;
}
/*
.post-list a:before,
.post-list a:before {
content: "#";
color: #ff9400;
position: absolute;
left: -0.8em;
font-weight: bold;
}
*/
/* footer */
footer {
font-weight: bold;
color: #ffd300;
font-size: 0.7rem;
padding-left: 20px;
padding-right: 20px;
}
@media screen and (max-width: 780px) {
nav,
header,
footer,
main {
margin-left: 10%;
margin-right: 10%;
}
}