feat: Finished about page layout
All checks were successful
Deploy Blog to Folder / deploy (push) Successful in 3s
All checks were successful
Deploy Blog to Folder / deploy (push) Successful in 3s
This commit is contained in:
48
public/css/about.css
Normal file
48
public/css/about.css
Normal file
@ -0,0 +1,48 @@
|
||||
.title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.title h1 {
|
||||
font-size: 3rem;
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
margin: 0 2rem 2rem 2rem;
|
||||
}
|
||||
.title img {
|
||||
width: 100%;
|
||||
}
|
||||
.content {
|
||||
padding: 2rem 2rem;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.alternating-background-container > :nth-child(2n-1) {
|
||||
background-color: var(--primary-alternating-color);
|
||||
}
|
||||
.alternating-background-container > :nth-child(2n) {
|
||||
background-color: var(--secondary-alternating-color);
|
||||
}
|
||||
.alternating-background-container > div {
|
||||
padding: 2rem 0;
|
||||
}
|
||||
.alternating-primary-brown {
|
||||
--primary-alternating-color: rgba(var(--brown), .21);
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.title {
|
||||
flex-direction: row;
|
||||
}
|
||||
.title-reverse {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
.title > div {
|
||||
width: 50%;
|
||||
}
|
||||
.content {
|
||||
padding: 0 2rem;
|
||||
}
|
||||
.alternating-background-container > div {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
}
|
||||
@ -340,6 +340,11 @@ footer ul li:last-child {
|
||||
margin-left: 2rem;
|
||||
}
|
||||
|
||||
.super-center {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
/* -xs */
|
||||
@media (min-width: 576px) {
|
||||
.container {
|
||||
|
||||
Reference in New Issue
Block a user