2019-11-13 07:17:15 +00:00
|
|
|
body{
|
|
|
|
background-color: white;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
2019-11-14 02:10:42 +00:00
|
|
|
height: 100%;
|
2019-11-13 07:17:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
header, nav {
|
|
|
|
background-color: #444444;
|
|
|
|
color: #f0f0f0;
|
|
|
|
text-align: center;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
display: grid;
|
|
|
|
grid-template-colums: auto 1em 1em 1em auto;
|
|
|
|
grid-template-areas: ". item1 item2 item3 .";
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a:nth-child(1) {
|
|
|
|
grid-area: item1;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a:nth-child(2) {
|
|
|
|
grid-area: item2;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a:nth-child(3) {
|
|
|
|
grid-area: item3;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a {
|
|
|
|
color: #f0f0f0;
|
|
|
|
padding: 10px;
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 20px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a:hover {
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
margin: auto;
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
article {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 15em auto 20em;
|
|
|
|
grid-template-rows: 1em 1em auto 1em;
|
|
|
|
|
|
|
|
grid-template-areas :
|
|
|
|
"image-key . ."
|
|
|
|
"image title title"
|
|
|
|
"image body body"
|
|
|
|
"image . info";
|
|
|
|
}
|
|
|
|
|
|
|
|
article > span:first-child {
|
|
|
|
grid-area: image-key;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
article figure {
|
|
|
|
grid-area: image;
|
|
|
|
}
|
|
|
|
|
|
|
|
article figure img {
|
|
|
|
max-height: 10em;
|
|
|
|
max-width: 10em;
|
|
|
|
min-height: 10em;
|
|
|
|
min-width: 10em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-title {
|
|
|
|
font-size: 20px;
|
|
|
|
grid-area: title;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-body {
|
|
|
|
font-size: 20px;
|
|
|
|
grid-area: body;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-info {
|
|
|
|
grid-area: info;
|
|
|
|
}
|
|
|
|
|
|
|
|
article strong {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
2019-11-14 02:10:42 +00:00
|
|
|
|
|
|
|
footer {
|
|
|
|
bottom: 0;
|
|
|
|
position: fixed;
|
|
|
|
display: grid;
|
|
|
|
width: 100%;
|
|
|
|
background-color: #444444;
|
|
|
|
color: #f0f0f0;
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 15px;
|
|
|
|
grid-template-columns: auto 35em auto;
|
|
|
|
grid-template-rows: 4em;
|
|
|
|
grid-template-areas: ". info .";
|
|
|
|
}
|
|
|
|
|
|
|
|
footer span {
|
|
|
|
grid-area: info;
|
|
|
|
margin-top: 1.5em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer span a {
|
|
|
|
color: #f0f0f0;
|
|
|
|
}
|