Edit ─ Shared.css start of the responsive

This commit is contained in:
nocode committed 2026-04-30 14:18:00 +02:00
1 parent 4e5a4313ce
commit 443a430195
1 file changed
+453 -216
+453 -216
View File
@@ -1,253 +1,490 @@
.nav-toggler { @media screen and (max-width: 1920px) and (min-width: 1080px) {
position: fixed; .nav-toggler {
z-index: 1002; position: fixed;
top: 0.25%; z-index: 1002;
left: 30px; top: 0.25%;
height: 50px; left: 2.5%;
width: 50px; height: 5%;
border-radius: 20%; width: 3%;
border: none; border-radius: 20%;
outline: none; border: none;
cursor: pointer; outline: none;
display: flex; cursor: pointer;
justify-content: center; display: flex;
align-items: center; justify-content: center;
background: transparent; align-items: center;
} background: transparent;
}
.line { .line {
position: absolute; position: absolute;
display: block; display: block;
width: 100%; width: 100%;
height: 2px; height: 5%;
background-color: #235573; background-color: #235573;
transition: transform 0.3s ease-out, opacity 0.1s ease-out; transition: transform 0.3s ease-out, opacity 0.1s ease-out;
} }
.l1 { .l1 {
transform: translateY(-10px); transform: translateY(-450%);
} }
.l3 { .l3 {
transform: translateY(10px); transform: translateY(450%);
} }
.nav-toggler.active .l1 { .nav-toggler.active .l1 {
transform: translateY(0px) rotate(45deg); transform: translateY(0%) rotate(45deg);
} }
.nav-toggler.active .l2 { .nav-toggler.active .l2 {
opacity: 0; opacity: 0;
} }
.nav-toggler.active .l3 { .nav-toggler.active .l3 {
transform: translateY(0px) rotate(-45deg); transform: translateY(0%) rotate(-45deg);
} }
nav { nav {
position: fixed; position: fixed;
width: 12vw; width: 12%;
height: 101vh; height: 101%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
background-color: #1B4056; background-color: #1B4056;
border-right: 0.3px solid black; border-right: 0.3px solid black;
border-radius: 0.5rem; border-radius: 0.5rem;
transform: translateX(-100%); transform: translateX(-100%);
transition: transform 0.3s cubic-bezier(.17,.67,.17,.67); transition: transform 0.3s cubic-bezier(.17,.67,.17,.67);
z-index: 1001; z-index: 1001;
} }
nav.active { nav.active {
transform: translate(-1%); transform: translate(-1%);
} }
nav a { nav a {
font-family: Quicksand, sans-serif; font-family: Quicksand, sans-serif;
color: #000000; color: #000000;
font-size: 20px; font-size: 100%;
display: flex; display: flex;
margin: 10px 0; margin: 10% 0;
text-decoration: none; text-decoration: none;
background-color: #235573; background-color: #235573;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 10rem; width: 100%;
height: 2rem; height: 2rem;
border-radius: 0.4rem; border-radius: 0.4rem;
} }
nav a:hover { nav a:hover {
background-color: #2a658a; background-color: #2a658a;
border: 1.5px solid #142c3b; }
}
#ingame { #ingame {
position: fixed; position: fixed;
z-index: 1002; z-index: 1002;
border-radius: 20%; border-radius: 20%;
border: none; border: none;
outline: none; outline: none;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
background: #235573; background: #235573;
width: 70%; width: 70%;
height: 5%; height: 5%;
border-radius: 20px; border-radius: 20px;
} }
.wallpaper { .wallpaper {
height: 55rem; height: 55rem;
background-image: linear-gradient( #1b1b1b00, #1B4056 ); background-image: linear-gradient( #1b1b1b00, #1B4056 );
} display: flex;
justify-content: center;
}
#nav-menu { #nav-menu {
position: relative; position: relative;
} }
#logo { #logo {
margin-left: 90%; margin-left: 90%;
} }
#header-box, #nav-ui button { #header-box, #nav-ui button {
margin-left: 10px; margin-left: 10%;
} }
body #arrow-down { body #arrow-down {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-self: center; justify-self: center;
align-items: end; align-items: end;
position: fixed; position: fixed;
} }
#arrow-down { #arrow-down {
background-color: #ffffff00; background-color: #ffffff00;
top: 42rem; top: 80%;
left: 48.75%; left: 48.75%;
border: none; border: none;
z-index: 1; z-index: 1;
} }
.wallpaper { #title {
display: flex; display: flex;
justify-content: center; flex-direction: column;
} color: #ffffff;
align-items: center;
justify-content: center;
}
#title { h1 {
display: flex; position: fixed;
flex-direction: column; font-size: 60px;
color: #ffffff; }
align-items: center;
justify-content: center;
}
h1 { h2 {
position: fixed; position: fixed;
font-size: 60px; margin-top: 10rem;
} font-size: 30px;
}
h2 { body #footer-box {
position: fixed; width: 100%;
margin-top: 10rem; height: 5.10%;
font-size: 30px; width: 100%;
} bottom: 0;
background-color: #173344;
z-index: 100;
}
body #footer-box { body header {
width: 100%; background-color: #173344;
height: 5.10rem; position: fixed;
width: 100%; width: 100%;
bottom: 0; z-index: 1000;
background-color: #173344; }
z-index: 100;
}
body header { .level-one{
background-color: #173344; display: flex;
position: fixed; flex-direction: row;
width: 100%; justify-content: center;
z-index: 1000; align-items: center;
} gap: 1rem;
}
.level-one{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 1rem;
}
#footer-box a { #footer-box a {
font-family: Quicksand, sans-serif; font-family: Quicksand, sans-serif;
color: #0a1d29; color: #0a1d29;
display: flex; display: flex;
text-decoration: none; text-decoration: none;
}
t {
color: #265370;
}
#footer-box a:hover {
background-color: #1d445e8e;
border: 1.5px solid #142c3b;
border-radius: 0.4rem;
}
#footer-box .level-two{
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;
gap: 1rem;
}
.level-two p {
color: black;
font-size: 12px;
}
#footer-box .level-three{
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;
gap: 1rem;
margin-bottom: 1rem;
font-size: small;
}
nav fieldset {
color: #447797;
border: 0.15rem dashed #834206ec;
border-radius: 2rem;
}
nav legend {
padding: 0.5rem;
}
#field-ing legend {
margin-left: 3.3rem;
}
#field-rp legend {
margin-left: 2.8rem;
}
#field-outofgame legend {
margin-left: 2.9rem;
}
#bar {
background-color: #000000;
padding: 0.02%;
width: 80%;
margin-left: 10%;
margin-right: 10%;
}
} }
t { /* @media screen and (max-width: 10240px) {
color: #265370; .nav-toggler {
} position: fixed;
z-index: 1002;
top: 0.25%;
left: 2.5%;
height: 5%;
width: 3%;
border-radius: 20%;
border: none;
outline: none;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
background: transparent;
}
#footer-box a:hover { .line {
background-color: #1d445e8e; position: absolute;
border: 1.5px solid #142c3b; display: block;
border-radius: 0.4rem; width: 100%;
} height: 5%;
background-color: #235573;
transition: transform 0.3s ease-out, opacity 0.1s ease-out;
}
#footer-box .level-two{ .l1 {
display: flex; transform: translateY(-450%);
flex-direction: row; }
justify-content: center;
align-items: start;
gap: 1rem;
}
.level-two p { .l3 {
color: black; transform: translateY(450%);
font-size: 12px; }
}
#footer-box .level-three{ .nav-toggler.active .l1 {
display: flex; transform: translateY(0%) rotate(45deg);
flex-direction: row; }
justify-content: center;
align-items: start;
gap: 1rem;
margin-bottom: 1rem;
font-size: small;
}
nav fieldset { .nav-toggler.active .l2 {
color: #447797; opacity: 0;
border: 0.15rem dashed #834206ec; }
border-radius: 2rem;
}
nav legend { .nav-toggler.active .l3 {
padding: 0.5rem; transform: translateY(0%) rotate(-45deg);
} }
#field-ing legend { nav {
margin-left: 3.3rem; position: fixed;
} width: 12%;
height: 101%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #1B4056;
border-right: 0.3px solid black;
border-radius: 0.5rem;
transform: translateX(-100%);
transition: transform 0.3s cubic-bezier(.17,.67,.17,.67);
z-index: 1001;
}
#field-rp legend { nav.active {
margin-left: 2.8rem; transform: translate(-1%);
} }
#field-outofgame legend { nav a {
margin-left: 2.9rem; font-family: Quicksand, sans-serif;
} color: #000000;
font-size: 100%;
display: flex;
margin: 10% 0;
text-decoration: none;
background-color: #235573;
justify-content: center;
align-items: center;
width: 100%;
height: 2rem;
border-radius: 0.4rem;
}
#bar { nav a:hover {
background-color: #000000; background-color: #2a658a;
padding: 0.5px; }
width: 80%;
margin-left: 11rem; .wallpaper {
margin-right: 4rem; height: 55rem;
} background-image: linear-gradient( #1b1b1b00, #1B4056 );
}
#nav-menu {
position: relative;
}
#logo {
margin-left: 90%;
}
#header-box, #nav-ui button {
margin-left: 10%;
}
body #arrow-down {
display: flex;
flex-direction: row;
justify-self: center;
align-items: end;
position: fixed;
}
#arrow-down {
background-color: #ffffff00;
top: 80%;
left: 48.75%;
border: none;
z-index: 1;
}
.wallpaper {
display: flex;
justify-content: center;
}
#title {
display: flex;
flex-direction: column;
color: #ffffff;
align-items: center;
justify-content: center;
}
h1 {
position: fixed;
font-size: 60px;
}
h2 {
position: fixed;
margin-top: 10rem;
font-size: 30px;
}
body #footer-box {
width: 100%;
height: 5.10%;
width: 100%;
bottom: 0;
background-color: #173344;
z-index: 100;
}
body header {
background-color: #173344;
position: fixed;
width: 100%;
z-index: 1000;
}
.level-one{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 1rem;
}
#footer-box a {
font-family: Quicksand, sans-serif;
color: #0a1d29;
display: flex;
text-decoration: none;
}
t {
color: #265370;
}
#footer-box a:hover {
background-color: #1d445e8e;
border: 1.5px solid #142c3b;
border-radius: 0.4rem;
}
#footer-box .level-two{
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;
gap: 1rem;
}
.level-two p {
color: black;
font-size: 12px;
}
#footer-box .level-three{
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;
gap: 1rem;
margin-bottom: 1rem;
font-size: small;
}
nav fieldset {
color: #447797;
border: 0.15rem dashed #834206ec;
border-radius: 2rem;
}
nav legend {
padding: 0.5rem;
}
#field-ing legend {
margin-left: 3.3rem;
}
#field-rp legend {
margin-left: 2.8rem;
}
#field-outofgame legend {
margin-left: 2.9rem;
}
#bar {
background-color: #000000;
padding: 0.02%;
width: 80%;
margin-left: 10%;
margin-right: 10%;
}
} */