172 lines
2.1 KiB
CSS
172 lines
2.1 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 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: 4em;
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media screen and (max-width: 1200px) {
|
||
|
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: 30px 80px;
|
||
|
min-width: 25em;
|
||
|
max-width: 30em;
|
||
|
}
|
||
|
|
||
|
article h1 {
|
||
|
margin-left: -20px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media screen and (min-width: 1200px) {
|
||
|
nav {
|
||
|
max-width: 15%;
|
||
|
float: left;
|
||
|
padding: 20px 45px 40px 40px;
|
||
|
margin-top: 10px;
|
||
|
border-right: 3px solid;
|
||
|
}
|
||
|
|
||
|
nav span {
|
||
|
padding-left: 20px;
|
||
|
}
|
||
|
|
||
|
nav ul {
|
||
|
margin-left: 20px;
|
||
|
}
|
||
|
|
||
|
nav li {
|
||
|
border-bottom: 1px solid #ccc;
|
||
|
padding: 3px;
|
||
|
}
|
||
|
|
||
|
nav ul li:last-child {
|
||
|
border-bottom: none;
|
||
|
}
|
||
|
|
||
|
.aside {
|
||
|
position: relative;
|
||
|
left: 60%;
|
||
|
float: right;
|
||
|
margin-left: -50%;
|
||
|
max-width: 50%;
|
||
|
}
|
||
|
}
|