mirror of
https://git.moonleay.net/Websites/liljudd-website.git
synced 2025-07-26 03:12:03 +02:00
Chore: grid on features page
This commit is contained in:
parent
729ff7168a
commit
5ac4ec0419
8 changed files with 130 additions and 147 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue