2022-02-11 14:04:23 +01:00
|
|
|
/* || general styles */
|
|
|
|
|
|
|
|
html {
|
2022-02-12 18:49:42 +01:00
|
|
|
font-family: 'Oswald', sans-serif;
|
|
|
|
font-weight: 200;
|
2022-02-11 14:04:23 +01:00
|
|
|
}
|
|
|
|
|
2022-02-15 00:59:23 +01:00
|
|
|
#comments > a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2022-02-12 18:49:42 +01:00
|
|
|
article {
|
|
|
|
font-family: 'Oswald', sans-serif;
|
|
|
|
color: #fff;
|
|
|
|
background:#313543;
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas:
|
|
|
|
"profile header "
|
|
|
|
"profile content"
|
|
|
|
"footer footer";
|
|
|
|
grid-template-columns: 1fr 3fr;
|
|
|
|
gap: 0.5em;
|
|
|
|
width: 30em;
|
|
|
|
padding: 1em 0.25em 0em 0.25em;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
article a {
|
|
|
|
color: #4d9fdb;
|
2022-02-11 14:04:23 +01:00
|
|
|
}
|
|
|
|
|
2022-02-12 18:49:42 +01:00
|
|
|
|
|
|
|
article header {
|
|
|
|
width:100%;
|
|
|
|
grid-area: header;
|
2022-02-11 14:04:23 +01:00
|
|
|
}
|
|
|
|
|
2022-02-12 18:49:42 +01:00
|
|
|
article header summary {
|
|
|
|
font-weight: 300;
|
|
|
|
width:100%;
|
2022-02-11 14:04:23 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2022-02-12 18:49:42 +01:00
|
|
|
article aside {
|
|
|
|
grid-area: profile;
|
|
|
|
text-align:center;
|
2022-02-11 14:04:23 +01:00
|
|
|
}
|
|
|
|
|
2022-02-12 18:49:42 +01:00
|
|
|
article aside h1 {
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: 300;
|
|
|
|
padding:0; margin-bottom:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
article aside h2 {
|
|
|
|
font-size: 1.0em;
|
|
|
|
font-weight: 200;
|
|
|
|
padding:0; margin:0;
|
|
|
|
}
|
2022-02-11 14:04:23 +01:00
|
|
|
|
2022-02-12 18:49:42 +01:00
|
|
|
article aside img {
|
|
|
|
max-width: 100px;
|
2022-02-11 14:04:23 +01:00
|
|
|
}
|
|
|
|
|
2022-02-12 18:49:42 +01:00
|
|
|
article section {
|
|
|
|
grid-area: content;
|
|
|
|
}
|
|
|
|
|
2022-02-14 18:47:15 +01:00
|
|
|
article > footer {
|
2022-02-12 18:49:42 +01:00
|
|
|
grid-area: footer;
|
2022-02-14 18:47:15 +01:00
|
|
|
background: #282c37;
|
2022-02-12 18:49:42 +01:00
|
|
|
}
|
|
|
|
|
2022-02-14 18:47:15 +01:00
|
|
|
article > footer > ul {
|
2022-02-12 18:49:42 +01:00
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas:
|
2022-02-14 18:47:15 +01:00
|
|
|
"replies favs boosts";
|
|
|
|
grid-template-columns: 1fr 1fr 1fr;
|
2022-02-12 18:49:42 +01:00
|
|
|
gap:0em;
|
2022-02-11 14:04:23 +01:00
|
|
|
}
|
|
|
|
|
2022-02-15 00:59:23 +01:00
|
|
|
article > footer > ul > li:before {
|
|
|
|
padding:0 1em;
|
|
|
|
|
2022-02-14 18:47:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
article > footer > ul > li.replies {
|
2022-02-12 18:49:42 +01:00
|
|
|
grid-area: replies;
|
2022-02-14 18:47:15 +01:00
|
|
|
|
2022-02-11 14:04:23 +01:00
|
|
|
}
|
|
|
|
|
2022-02-14 18:47:15 +01:00
|
|
|
article > footer > ul > li.favs {
|
2022-02-12 18:49:42 +01:00
|
|
|
grid-area: favs;
|
2022-02-11 14:04:23 +01:00
|
|
|
}
|
2022-02-12 18:49:42 +01:00
|
|
|
|
2022-02-14 18:47:15 +01:00
|
|
|
article > footer > ul > li.boosts {
|
2022-02-12 18:49:42 +01:00
|
|
|
grid-area: boosts;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
strong, b {
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hashtag {
|
|
|
|
text-decoration:none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|