mirror of
https://git.moonleay.net/Websites/liljudd-website.git
synced 2025-07-26 03:12:03 +02:00
WIP: added CSS to how-do-i page, stack page, edited about page, edited links in footer, edited invite-link in header
This commit is contained in:
parent
5b49090133
commit
c34662ce2d
8 changed files with 175 additions and 71 deletions
38
src/styles/pages/how-do-i.scss
Normal file
38
src/styles/pages/how-do-i.scss
Normal file
|
@ -0,0 +1,38 @@
|
|||
.title {
|
||||
font-size: 3rem;
|
||||
text-align: center;
|
||||
margin-bottom: 1.2rem;
|
||||
}
|
||||
|
||||
.section {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 4px;
|
||||
margin: 1rem;
|
||||
padding: 1rem;
|
||||
display: block;
|
||||
|
||||
.imgwrapper {
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
p, code {
|
||||
display: flex;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
img {
|
||||
display: flex;
|
||||
border-radius: 5px;
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
p, code {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
59
src/styles/pages/stack.scss
Normal file
59
src/styles/pages/stack.scss
Normal file
|
@ -0,0 +1,59 @@
|
|||
.title {
|
||||
font-size: 3rem;
|
||||
text-align: center;
|
||||
margin-bottom: 1.2rem;
|
||||
}
|
||||
|
||||
.stacksection {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 4px;
|
||||
margin: 1rem;
|
||||
padding: 1rem;
|
||||
display: block;
|
||||
@media (min-width: 800px) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
.stackgrid_3 {
|
||||
grid-column: span 3;
|
||||
text-align: center;
|
||||
align-self: center;
|
||||
margin: auto
|
||||
}
|
||||
|
||||
.stackitm {
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.stacknote {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 4px;
|
||||
margin: 1rem;
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
|
||||
a {
|
||||
color: white;
|
||||
text-decoration: underline;
|
||||
font-size: 0.9rem;
|
||||
transition: 0.5s;
|
||||
|
||||
&:hover {
|
||||
color: rgb(96 59 255) !important;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue