mirror of
https://git.moonleay.net/Websites/liljudd-website.git
synced 2025-07-26 11:22:04 +02:00
WIP: improved css all around, started fixing features page
This commit is contained in:
parent
ffa150d952
commit
4e41363ec9
13 changed files with 265 additions and 179 deletions
|
@ -29,6 +29,13 @@ footer {
|
|||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 20px;
|
||||
|
||||
div {
|
||||
img {
|
||||
margin: auto;
|
||||
max-width: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
.ImageSection {
|
||||
border-radius: 0.5rem;
|
||||
width: 100%;
|
||||
grid-row: var(--id)/calc(var(--id) + 2);
|
||||
grid-row: var(--id)/calc(var(--id) + 2);
|
||||
grid-column: mod(var(--id), 2)/calc(mod(var(--id), 2) + 1);
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
max-width: 80vw;
|
||||
}
|
||||
|
@ -9,15 +13,6 @@
|
|||
|
||||
background-size: contain;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
//background-color: rgba(183, 183, 183, 0.5);
|
||||
//backdrop-filter: blur(5px);
|
||||
//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%
|
||||
// );
|
||||
|
||||
&.centered {
|
||||
grid-column: 1/-1;
|
||||
|
@ -25,54 +20,56 @@
|
|||
justify-self: center;
|
||||
}
|
||||
|
||||
.firstHalf {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
}
|
||||
h1 {
|
||||
z-index: 1;
|
||||
grid-row: var(--id)/calc(var(--id) + 1);
|
||||
grid-column: mod(var(--id), 2)/calc(mod(var(--id), 2) + 1);
|
||||
}
|
||||
.imgDiv {
|
||||
z-index: 1;
|
||||
grid-row: calc(var(--id) + 1)/calc(var(--id) + 2);
|
||||
grid-column: mod(var(--id), 2)/calc(mod(var(--id), 2) + 1);
|
||||
padding: 0.5rem;
|
||||
margin-left: 3rem;
|
||||
margin-right: 3rem;
|
||||
border-radius: 0.5rem;
|
||||
|
||||
.imgDiv {
|
||||
//background-color: rgba(0, 0, 0, 0.4);
|
||||
//backdrop-filter: blur(5px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
padding: 0.5rem;
|
||||
margin-left: 3rem;
|
||||
margin-right: 3rem;
|
||||
border-radius: 0.5rem;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
img {
|
||||
border-radius: 0.5rem;
|
||||
max-width: 80%;
|
||||
max-height: 280px;
|
||||
}
|
||||
|
||||
p {
|
||||
padding-top: 2px;
|
||||
font-size: 0.8rem;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
img {
|
||||
border-radius: 0.5rem;
|
||||
max-width: 80%;
|
||||
max-height: 280px;
|
||||
}
|
||||
|
||||
.noteP {
|
||||
line-height: 1.5;
|
||||
vertical-align: middle;
|
||||
|
||||
margin: auto;
|
||||
font-size: 1rem;
|
||||
p {
|
||||
padding-top: 2px;
|
||||
font-size: 0.8rem;
|
||||
text-align: center;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
p {
|
||||
margin: auto;
|
||||
padding: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.noteP {
|
||||
z-index: 1;
|
||||
grid-row: calc(var(--id) + 2)/calc(var(--id) + 3);
|
||||
grid-column: mod(var(--id), 2)/calc(mod(var(--id), 2) + 1);
|
||||
|
||||
line-height: 1.5;
|
||||
vertical-align: middle;
|
||||
|
||||
margin: auto;
|
||||
font-size: 1rem;
|
||||
text-align: center;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
p {
|
||||
margin: auto;
|
||||
padding: 2rem;
|
||||
}
|
||||
}
|
||||
|
|
30
src/styles/pages/about.scss
Normal file
30
src/styles/pages/about.scss
Normal file
|
@ -0,0 +1,30 @@
|
|||
h1 {
|
||||
font-size: 3rem;
|
||||
text-align: center;
|
||||
margin-bottom: 1.2rem;
|
||||
}
|
||||
|
||||
.aboutdiv {
|
||||
section {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 4px;
|
||||
margin: 1rem;
|
||||
padding: 1rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: white;
|
||||
text-decoration: underline;
|
||||
font-size: 0.9rem;
|
||||
transition: 0.5s;
|
||||
|
||||
&:hover {
|
||||
color: rgb(96 59 255) !important;
|
||||
}
|
||||
}
|
||||
}
|
23
src/styles/pages/contact.scss
Normal file
23
src/styles/pages/contact.scss
Normal file
|
@ -0,0 +1,23 @@
|
|||
.wrapper {
|
||||
margin: 0;
|
||||
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
text-align: center;
|
||||
margin-bottom: 1.2rem;
|
||||
}
|
||||
text-align: center;
|
||||
|
||||
.contact {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
img {
|
||||
margin: 0 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -26,7 +26,7 @@
|
|||
img {
|
||||
display: flex;
|
||||
border-radius: 5px;
|
||||
max-width: 90%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
p, code {
|
||||
|
@ -36,3 +36,22 @@
|
|||
}
|
||||
}
|
||||
|
||||
.footernotesection {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 4px;
|
||||
margin: 1rem;
|
||||
padding: 1rem;
|
||||
display: block;
|
||||
text-align: center;
|
||||
a {
|
||||
color: white;
|
||||
text-decoration: underline;
|
||||
font-size: 0.9rem;
|
||||
transition: 0.5s;
|
||||
|
||||
&:hover {
|
||||
color: rgb(96 59 255) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,33 +8,31 @@
|
|||
background-color: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 4px;
|
||||
margin: 1rem;
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
display: block;
|
||||
@media (min-width: 800px) {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
|
||||
@media (min-width: 950px) {
|
||||
max-width: 900px;
|
||||
margin: 1rem auto;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
|
||||
//display: grid;
|
||||
//grid-template-columns: repeat(4, 1fr);
|
||||
}
|
||||
|
||||
.stackgrid_1 {
|
||||
grid-column: span 1;
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
max-width: 80%;
|
||||
max-height: 200px;
|
||||
width: 200px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
img {
|
||||
max-width: 80%;
|
||||
max-height: 200px;
|
||||
width: 200px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.stackgrid_3 {
|
||||
grid-column: span 3;
|
||||
//grid-column: span 3;
|
||||
text-align: center;
|
||||
align-self: center;
|
||||
margin: auto
|
||||
}
|
||||
|
||||
.stackitm {
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
@ -43,6 +41,12 @@
|
|||
background-color: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 4px;
|
||||
margin: 1rem;
|
||||
|
||||
@media (min-width: 950px) {
|
||||
width: 900px;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue