werc-1.5.0-tweaks/pub/style/style.css

83 lines
998 B
CSS
Raw Normal View History

2022-03-10 07:22:29 +00:00
body {
display: flex;
flex-wrap: wrap;
font-family: sans;
}
header {
flex-basis: 100%;
flex-shrink: 0;
}
article {
flex-basis: 60%;
padding-left: 1em;
}
footer {
flex-basis: 100%;
flex-shrink: 0;
}
header nav {
display: flex;
justify-content: space-between;
}
nav a,
header a {
text-decoration: none;
color: inherit;
}
header h1 span {
2022-03-10 07:26:13 +00:00
margin-left: 0em;
2022-03-10 07:22:29 +00:00
font-size: 50%;
font-style: italic;
}
body>nav {
flex-basis: content;
padding-right: 1vw;
min-width: 16em;
}
nav ul {
display: flex;
flex-direction: column;
list-style-type: none;
list-style-position: outside;
padding-left: 0;
}
nav li ul {
padding-left: 0.6em
}
footer {
display: flex;
justify-content: space-between;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
width: 80%;
}
.img-frontpage-center {
display: block;
margin-left: auto;
margin-right: auto;
width: 30%;
}
.img-medium-center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}