107 lines
1.8 KiB
CSS
107 lines
1.8 KiB
CSS
body {
|
|
margin: 0;
|
|
font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
color: #000;
|
|
background-color: rgb(150, 200, 234);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: bold;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
a:hover {
|
|
color: #508FC3;
|
|
}
|
|
|
|
code {
|
|
font-family: menlo, inconsolata, monospace;
|
|
font-size: calc(1em - 2px);
|
|
color: #555;
|
|
background-color: #f0f0f0;
|
|
padding: 0.2em 0.4em;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
@media (min-width: 800px) {
|
|
body {
|
|
font-size: 16px;
|
|
}
|
|
.content {
|
|
margin: 8rem auto !important;
|
|
}
|
|
.article-title {
|
|
font-size: 4rem !important;
|
|
}
|
|
.article-date {
|
|
font-size: 2rem !important;
|
|
}
|
|
figure.article-image img {
|
|
height: 12rem !important;
|
|
}
|
|
div.article-list > a {
|
|
margin: 2rem !important;
|
|
}
|
|
div.article-meta {
|
|
margin: 2rem;
|
|
}
|
|
div.article-list {
|
|
padding: 2rem 1rem;
|
|
}
|
|
}
|
|
|
|
div.article-list {
|
|
padding: 1rem;
|
|
background: #508FC3;
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
}
|
|
div.article-list > a {
|
|
margin: 0;
|
|
display: flex;
|
|
text-decoration: none;
|
|
flex-direction: row;
|
|
align-items: start;
|
|
}
|
|
figure.article-image {
|
|
background: white;
|
|
display: flex;
|
|
align-self: center;
|
|
justify-content: center;
|
|
width: 33.33%;
|
|
}
|
|
figure.article-image img {
|
|
height: 6rem;
|
|
width: auto;
|
|
}
|
|
div.article-meta {
|
|
margin: 1rem;
|
|
background: white;
|
|
margin-right: 0;
|
|
padding: 0.75rem;
|
|
line-height: 1;
|
|
flex: 1 0 0;
|
|
}
|
|
.article-title {
|
|
font-size: 2rem;
|
|
}
|
|
.article-date {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.content {
|
|
background: #fff;
|
|
margin: 8rem 0;
|
|
padding: 2rem;
|
|
}
|