Add articles and brochures section
Add brochures section to frontpage Add grid view template Add article about medical cannabis study for patient organizations Add brochure for doctors Add brochure for patient organizations Add brochure for politicians Update styles to support new sections Update news article date
This commit is contained in:
parent
b0ad85f1ac
commit
c4697e47c8
18 changed files with 345 additions and 26 deletions
|
|
@ -46,7 +46,7 @@ a {
|
|||
align-items: stretch;
|
||||
}
|
||||
|
||||
.contain, :where(main>article, main>aside) {
|
||||
.contain, :where(main>article, main>aside, main>section) {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(.4rem, 1fr) minmax(0, 42rem) minmax(.3rem, 1fr);
|
||||
> * {
|
||||
|
|
@ -130,29 +130,6 @@ main {
|
|||
}
|
||||
}
|
||||
|
||||
/* LIST VIEW */
|
||||
main > article {
|
||||
> article {
|
||||
background-color: white;
|
||||
padding: 0;
|
||||
margin-bottom: 1.5rem;
|
||||
overflow: hidden;
|
||||
|
||||
> :not(img) {
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* FOOTER */
|
||||
|
||||
footer {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue