portal/assets/css/custom.css

108 lines
1.4 KiB
CSS
Raw Normal View History

2019-11-25 12:01:33 +01:00
* {
outline: none;
}
body {
color: rgb(167, 158, 139) !important;
}
2019-11-25 14:58:20 +01:00
img {
max-width: 100% !important;
}
2019-11-25 12:01:33 +01:00
/* header */
header {
margin: 2rem 20% -2rem 20%;
display: flex;
justify-content: center;
}
header * {
color: #f78e66 !important;
font-size: 2rem !important;
}
/* nav */
nav {
margin-left: 20%;
margin-right: 20%;
padding-top: 3rem;
line-height: 2rem;
}
nav a {
color: #72b6b5 !important;
padding-right: 2rem;
font-size: 1rem;
font-weight: bold;
}
nav a:hover {
text-decoration: underline !important;
}
/* main */
main {
margin-top: 3rem;
margin-left: 20%;
margin-right: 20%;
display: grid;
grid-gap: 1.4rem;
line-height: 1.5rem;
}
2019-11-25 12:40:08 +01:00
.content a {
2019-11-25 12:01:33 +01:00
text-decoration: underline;
}
.post-list a {
text-decoration: none;
position: relative;
color: #f78e66 !important;
/* color: #72b6b5 !important; */
}
.post-list a:after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 0%;
border-bottom: 2px solid #f78e66;
transition: 0.4s;
}
.post-list a:hover:after {
width: 100%;
}
.post-list a:before,
.post-list a:before {
content: "#";
color: #42b983;
position: absolute;
left: -0.8em;
font-weight: bold;
}
/* footer */
footer {
font-weight: bold;
color: #72b6b5;
font-size: 0.7rem;
margin: 4rem 20% 4rem 20%;
2019-11-25 12:40:08 +01:00
}
@media screen and (max-width: 780px) {
nav,
header,
footer,
main {
margin-left: 10%;
margin-right: 10%;
}
}