style: feed styling
This commit is contained in:
parent
a7c1084dc4
commit
87215650a9
8 changed files with 68 additions and 12 deletions
|
@ -5,7 +5,7 @@ $light: #fffff0;
|
|||
// Fonts
|
||||
$default-font: "Domitian", "Palatino Linotype", "Book Antiqua", palatino,
|
||||
garamond, serif;
|
||||
$code-font: "Input Mono", "Lucida Console", monaco, monospace;
|
||||
$code-font: "Input Mono", "Lucida Console", monaco, "Courier New", monospace;
|
||||
|
||||
// Breakpoints
|
||||
$breakpoints: (
|
||||
|
|
|
@ -56,6 +56,7 @@ h5,
|
|||
h6 {
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
font-variant-numeric: slashed-zero;
|
||||
}
|
||||
|
||||
a {
|
||||
|
|
39
assets/css/feeds.scss
Normal file
39
assets/css/feeds.scss
Normal file
|
@ -0,0 +1,39 @@
|
|||
@import "abstracts/variables";
|
||||
@import "abstracts/mixins";
|
||||
|
||||
@import "base/typography";
|
||||
|
||||
.feed {
|
||||
padding: 10px 20px;
|
||||
background-color: $light;
|
||||
color: $dark;
|
||||
margin: 0 auto;
|
||||
max-width: 800px;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
gap: 2em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.nav__notice {
|
||||
display: block;
|
||||
border: 2px solid $dark;
|
||||
padding: 20px;
|
||||
width: 80%;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
.summary {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.feed__header {
|
||||
padding-block-end: 1em;
|
||||
margin-block-end: 1em;
|
||||
border-block-end: 1px solid $dark;
|
||||
}
|
||||
|
||||
.feed__item {
|
||||
margin-block: 1em;
|
||||
}
|
|
@ -1,6 +1,8 @@
|
|||
.organisations-table {
|
||||
inline-size: 80% !important;
|
||||
|
||||
& thead {
|
||||
z-index: 1;
|
||||
position: sticky;
|
||||
|
||||
& th {
|
||||
|
@ -10,9 +12,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
&__logo {
|
||||
max-inline-size: 5em;
|
||||
max-block-size: 5em;
|
||||
fill: $dark;
|
||||
}
|
||||
|
||||
&__items-icon {
|
||||
padding: 1em;
|
||||
font-size: 1.4em;
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
float: inline-start;
|
||||
padding-inline-end: 1em;
|
||||
|
|
|
@ -102,13 +102,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.organisation-table {
|
||||
&__logo {
|
||||
max-inline-size: 5em;
|
||||
max-block-size: 5em;
|
||||
}
|
||||
}
|
||||
|
||||
.timeline__legend {
|
||||
inline-size: fit-content;
|
||||
display: flex;
|
||||
|
|
|
@ -62,6 +62,11 @@
|
|||
align-content: center;
|
||||
position: relative;
|
||||
|
||||
&--fit {
|
||||
background-size: contain;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
& .attr {
|
||||
position: absolute;
|
||||
background-color: $dark;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue