refacto: reorganize scss for modularity
This commit is contained in:
parent
1d939fb107
commit
17dd9dba48
10 changed files with 301 additions and 303 deletions
32
sass/parts/_page_title.scss
Normal file
32
sass/parts/_page_title.scss
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
section {
|
||||
&.title {
|
||||
margin-bottom: 2.5rem;
|
||||
|
||||
&>h1.title {
|
||||
font-size: 3rem;
|
||||
font-weight: 900;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&>p {
|
||||
&.subtitle {
|
||||
color: var(--subtext1);
|
||||
font-size: 1.5rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
&.metadata {
|
||||
color: var(--subtext1);
|
||||
font-size: .8rem;
|
||||
font-weight: 100;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-color: var(--overlay0);
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue