Chore: grid on features page

This commit is contained in:
aronmal 2023-11-16 12:49:01 +01:00
parent 729ff7168a
commit 5ac4ec0419
Signed by: aronmal
GPG key ID: 816B7707426FC612
8 changed files with 130 additions and 147 deletions

View file

@ -9,33 +9,16 @@
margin-bottom: 1.2rem;
}
.centered {
display: flex;
flex-direction: column;
align-items: center;
}
.gridlayout {
display: grid;
grid-template-columns: 550px;
align-content: center;
padding: 1rem;
}
.gridlayout div {
margin-bottom: 1rem;
display: flex;
flex-direction: column;
align-items: center;
}
}
@media (min-width: 1100px) {
.gridlayout {
display: grid;
grid-template-columns: repeat(2, 1fr);
align-items: center;
div {
grid-column: span 1;
margin: 1rem;
@media (min-width: 1100px) {
.gridlayout {
grid-template-columns: repeat(2, 550px);
}
}
}

View file

@ -3,19 +3,19 @@
flex-direction: column;
justify-content: center;
text-align: center;
}
.section h1 {
font-size: 4rem;
}
h1 {
font-size: 4rem;
}
.section h5 {
font-size: 1.5rem;
margin-top: 0.25rem;
}
h5 {
font-size: 1.5rem;
margin-top: 0.25rem;
}
.section div {
margin-top: 1.5rem;
div {
margin-top: 1.5rem;
}
}
.p1 {
@ -24,15 +24,14 @@
.p2 {
font-size: 0.8rem;
}
a {
font-weight: bolder;
text-decoration: underline;
font-size: 0.9rem;
transition: 0.5s;
.p2 a {
font-weight: bolder;
text-decoration: underline;
font-size: 0.9rem;
transition: .5s;
}
.p2 a:hover {
color: rgb(96 59 255) !important;
&:hover {
color: rgb(96 59 255) !important;
}
}
}