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

@ -1,33 +1,34 @@
@font-face {
font-family: "Splatoon";
font-style: normal;
font-weight: 400;
src: url("/assets/fonts/Splatoon2-common.woff2") format("woff2"),
font-family: "Splatoon";
font-style: normal;
font-weight: 400;
src:
url("/assets/fonts/Splatoon2-common.woff2") format("woff2"),
url("/assets/fonts/Splatoon2-common.woff") format("woff");
}
:root {
--foreground-rgb: 255, 255, 255;
font-family: "Splatoon", sans-serif;
--foreground-rgb: 255, 255, 255;
font-family: "Splatoon", sans-serif;
}
body {
color: rgb(var(--foreground-rgb));
background-color: black;
background-image: url("https://static.moonleay.net/img/lilJuddWeb/bgs/bg.jpg");
background-repeat: repeat;
background-size: 300px;
background-position: center;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
color: rgb(var(--foreground-rgb));
background-color: black;
background-image: url("https://static.moonleay.net/img/lilJuddWeb/bgs/bg.jpg");
background-repeat: repeat;
background-size: 300px;
background-position: center;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
margin: 0;
padding: 0;
box-sizing: border-box;
}
body a,
@ -41,15 +42,14 @@ h6,
span,
li,
ul {
font-family: "Splatoon", sans-serif;
font-family: "Splatoon", sans-serif;
}
li {
list-style-type: none;
list-style-type: none;
}
a {
text-decoration: none;
color: inherit;
text-decoration: none;
color: inherit;
}

View file

@ -75,11 +75,11 @@ footer {
font-size: 0.65rem;
a {
transition: .5s;
}
transition: 0.5s;
a:hover {
color: rgb(96 59 255) !important;
&:hover {
color: rgb(96 59 255) !important;
}
}
}

View file

@ -1,32 +1,38 @@
.ImageSection {
border-radius: 0.5rem;
max-width: 100vw;
max-height: 550px;
//height: 550px;
width: 550px;
position: relative;
background-size: contain;
background-color: rgba(183, 183, 183, 0.4);
backdrop-filter: blur(5px);
background-image: url("https://static.moonleay.net/img/lilJuddWeb/bgs/tapes-bg.png"), linear-gradient(180deg,rgba(2,0,36,.1) 0%,rgba(0,0,0,0) 35%,rgba(0,0,0,.25) 100%);
background-image: url("https://static.moonleay.net/img/lilJuddWeb/bgs/tapes-bg.png"),
linear-gradient(
180deg,
rgba(2, 0, 36, 0.1) 0%,
rgba(0, 0, 0, 0) 35%,
rgba(0, 0, 0, 0.25) 100%
);
margin: 1rem;
padding: 1rem;
.content {
display: flex;
flex-direction: column;
align-items: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
&.centered {
grid-column: 1/-1;
width: 50%;
justify-self: center;
}
.imgDiv {
background-color: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(5px);
padding: 0.5rem 0.5rem 0;
padding: 0.5rem;
border-radius: 0.5rem;
display: flex;

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;
}
}
}