tweak: Make css more readable

This commit is contained in:
NunoSempere 2022-03-10 07:22:29 +00:00
parent f1486586ea
commit 243cc5f75d

View File

@ -1,11 +1,60 @@
body { display: flex; flex-wrap: wrap; font-family: sans; } body {
header { flex-basis: 100%; flex-shrink: 0; } display: flex;
article { flex-basis: 60%; padding-left: 1em; } flex-wrap: wrap;
footer { flex-basis: 100%; flex-shrink: 0; } font-family: sans;
header nav { display: flex; justify-content: space-between; } }
nav a, header a { text-decoration: none ; color: inherit; }
header h1 span { margin-left: 1em; font-size: 50%; font-style: italic; } header {
body > nav { flex-basis: content; padding-right: 1vw; min-width: 16em; } flex-basis: 100%;
nav ul { display: flex; flex-direction: column; list-style-type: none; list-style-position: outside; padding-left: 0; } flex-shrink: 0;
nav li ul { padding-left: 0.6em } }
footer { display: flex; justify-content: space-between; }
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 {
margin-left: 1em;
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;
}