update main content styling
This commit is contained in:
parent
33fedb48f2
commit
1d3d980d6a
9 changed files with 216 additions and 415 deletions
|
|
@ -1,60 +1,8 @@
|
|||
/* container */
|
||||
|
||||
.container {
|
||||
background: var(--background-primary-transparent);
|
||||
margin-top: var(--header-height);
|
||||
width: 100vw;
|
||||
.page {
|
||||
composes: page from 'chora/styles/page.css';
|
||||
}
|
||||
|
||||
/* sectionText */
|
||||
|
||||
.sectionText {
|
||||
background: var(--background-primary);
|
||||
display: flex;
|
||||
font-size: 1.2rem;
|
||||
justify-content: center;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
@media (max-width: 850px) {
|
||||
.sectionText {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.sectionText div {
|
||||
display: block;
|
||||
margin-bottom: 5%;
|
||||
max-width: 650px;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.sectionText h1 {
|
||||
margin: 2rem 0 1rem 0;
|
||||
}
|
||||
|
||||
@media (max-width: 850px) {
|
||||
.sectionText h1 {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sectionText h2 {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
@media (max-width: 850px) {
|
||||
.sectionText h2 {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.sectionText div p {
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
@media (max-width: 850px) {
|
||||
.sectionText div {
|
||||
padding: 2rem;
|
||||
}
|
||||
.content {
|
||||
composes: content from 'chora/styles/main.css';
|
||||
min-height: calc(100vh - var(--header-height) - var(--footer-height));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue