jtm.dev/res/common.css~

139 lines
1.7 KiB
CSS

body {
display: block;
margin: 0;
font-family: sans-serif;
}
nav {
font-weight: 400;
font-size: 25px;
letter-spacing: 2px;
color: #404040;
}
#navbrand {
font-weight: bold;
font-size: 50px;
color: black;
font-style: italic;
}
nav li {
text-indent: 0;
}
nav ul {
list-style: none;
}
article {
margin: auto;
line-height: 1.5em;
letter-spacing: .05em;
font-size: 18px;
color: #303030;
}
p {
/* text-align: justify;
text-justify: distribute;*/
text-indent: 2em;
}
article h1 {
font-size: 30px;
}
article h2 {
font-size: 25px;
}
article h3 {
font-size: 20px;
}
li {
text-indent: 1em;
}
a {
text-decoration: none;
color: #5050B0;
}
a:hover {
color: #8080A0;
}
nav a {
color: inherit;
}
.quote-content::before {
content: url("/res/icon/double-quote-serif-left.svg");
}
.quote-content {
font-style: italic;
}
.quote-content::after {
content: url("/res/icon/double-quote-serif-right.svg");
}
.metadata {
font-size: 15px;
}
.metadata img {
width: 15px;
}
footer {
padding: 10px;
font-size: 10px;
position: relative;
bottom: 0;
text-align: center;
}
.license img {
display: inline-block;
width: initial;
vertical-align: bottom;
}
@media screen and (max-width: 600px) {
article {
padding: 5px;
margin: 0;
}
}
nav {
margin: auto;
padding: 0;
text-align: center;
}
nav ul {
padding: 0;
}
nav li {
margin: 0;
display: inline-block;
}
@media screen and (min-width: 700px) {
article {
padding: 0 80px;
min-width: 25em;
max-width: 33em;
}
article h1 {
margin-left: -20px;
}
}