Fix ─ Responsive UI
This commit is contained in:
8 files changed
+762
-497
No files matched your search
+328
-434
@@ -1,490 +1,384 @@
|
||||
@media screen and (max-width: 1920px) and (min-width: 1080px) {
|
||||
.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;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
|
||||
.line {
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 5%;
|
||||
background-color: #235573;
|
||||
transition: transform 0.3s ease-out, opacity 0.1s ease-out;
|
||||
}
|
||||
.line {
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 5%;
|
||||
background-color: #235573;
|
||||
transition: transform 0.3s ease-out, opacity 0.1s ease-out;
|
||||
}
|
||||
|
||||
.l1 {
|
||||
transform: translateY(-450%);
|
||||
}
|
||||
.l1 {
|
||||
transform: translateY(-450%);
|
||||
}
|
||||
|
||||
.l3 {
|
||||
transform: translateY(450%);
|
||||
}
|
||||
.l3 {
|
||||
transform: translateY(450%);
|
||||
}
|
||||
|
||||
.nav-toggler.active .l1 {
|
||||
transform: translateY(0%) rotate(45deg);
|
||||
}
|
||||
.nav-toggler.active .l1 {
|
||||
transform: translateY(0%) rotate(45deg);
|
||||
}
|
||||
|
||||
.nav-toggler.active .l2 {
|
||||
opacity: 0;
|
||||
}
|
||||
.nav-toggler.active .l2 {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.nav-toggler.active .l3 {
|
||||
transform: translateY(0%) rotate(-45deg);
|
||||
}
|
||||
.nav-toggler.active .l3 {
|
||||
transform: translateY(0%) rotate(-45deg);
|
||||
}
|
||||
|
||||
nav {
|
||||
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;
|
||||
}
|
||||
|
||||
nav.active {
|
||||
transform: translate(-1%);
|
||||
}
|
||||
|
||||
nav a {
|
||||
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;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
background-color: #2a658a;
|
||||
}
|
||||
|
||||
#ingame {
|
||||
position: fixed;
|
||||
z-index: 1002;
|
||||
border-radius: 20%;
|
||||
border: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #235573;
|
||||
width: 70%;
|
||||
height: 5%;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.wallpaper {
|
||||
height: 55rem;
|
||||
background-image: linear-gradient( #1b1b1b00, #1B4056 );
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#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: absolute;
|
||||
}
|
||||
|
||||
#arrow-down {
|
||||
background-color: #ffffff00;
|
||||
top: 80%;
|
||||
left: 48.75%;
|
||||
border: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#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;
|
||||
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%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
nav {
|
||||
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;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
nav.active {
|
||||
transform: translate(-1%);
|
||||
}
|
||||
|
||||
nav a {
|
||||
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;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
background-color: #2a658a;
|
||||
}
|
||||
|
||||
#ingame {
|
||||
position: fixed;
|
||||
z-index: 1002;
|
||||
border-radius: 20%;
|
||||
border: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #235573;
|
||||
width: 70%;
|
||||
height: 5%;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.wallpaper {
|
||||
height: 55rem;
|
||||
background-image: linear-gradient( #1b1b1b00, #1B4056 );
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#nav-menu {
|
||||
position: relative;
|
||||
.nav-toggler {
|
||||
width: 6%;
|
||||
height: 4%;
|
||||
}
|
||||
|
||||
#logo {
|
||||
margin-left: 90%;
|
||||
margin-left: 85%;
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
#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%;
|
||||
.wallpaper {
|
||||
height: 40rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* @media screen and (max-width: 10240px) {
|
||||
.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;
|
||||
}
|
||||
|
||||
.line {
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 5%;
|
||||
background-color: #235573;
|
||||
transition: transform 0.3s ease-out, opacity 0.1s ease-out;
|
||||
}
|
||||
|
||||
.l1 {
|
||||
transform: translateY(-450%);
|
||||
}
|
||||
|
||||
.l3 {
|
||||
transform: translateY(450%);
|
||||
}
|
||||
|
||||
.nav-toggler.active .l1 {
|
||||
transform: translateY(0%) rotate(45deg);
|
||||
}
|
||||
|
||||
.nav-toggler.active .l2 {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.nav-toggler.active .l3 {
|
||||
transform: translateY(0%) rotate(-45deg);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
nav {
|
||||
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;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
nav.active {
|
||||
transform: translate(-1%);
|
||||
.nav-toggler {
|
||||
width: 10%;
|
||||
height: 4%;
|
||||
}
|
||||
|
||||
nav a {
|
||||
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;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
background-color: #2a658a;
|
||||
}
|
||||
|
||||
.wallpaper {
|
||||
height: 55rem;
|
||||
background-image: linear-gradient( #1b1b1b00, #1B4056 );
|
||||
}
|
||||
|
||||
#nav-menu {
|
||||
position: relative;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
#logo {
|
||||
margin-left: 90%;
|
||||
margin-left: 80%;
|
||||
}
|
||||
|
||||
#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;
|
||||
#logo img {
|
||||
width: 40px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.wallpaper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: #ffffff;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 45rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
position: fixed;
|
||||
font-size: 60px;
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
position: fixed;
|
||||
margin-top: 10rem;
|
||||
font-size: 30px;
|
||||
font-size: 22px;
|
||||
margin-top: 7rem;
|
||||
}
|
||||
|
||||
body #footer-box {
|
||||
width: 100%;
|
||||
height: 5.10%;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
background-color: #173344;
|
||||
z-index: 100;
|
||||
#arrow-down {
|
||||
left: 45%;
|
||||
}
|
||||
|
||||
body header {
|
||||
background-color: #173344;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 1000;
|
||||
#arrow-down img {
|
||||
width: 45px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.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-one img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.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;
|
||||
font-size: 11px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
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;
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
#field-ing legend,
|
||||
#field-rp legend,
|
||||
#field-outofgame legend {
|
||||
margin-left: 2.9rem;
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
nav {
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
#bar {
|
||||
background-color: #000000;
|
||||
padding: 0.02%;
|
||||
width: 80%;
|
||||
margin-left: 10%;
|
||||
margin-right: 10%;
|
||||
.nav-toggler {
|
||||
width: 12%;
|
||||
height: 4%;
|
||||
left: 3%;
|
||||
}
|
||||
} */
|
||||
|
||||
#logo {
|
||||
margin-left: 75%;
|
||||
}
|
||||
|
||||
#logo img {
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
.wallpaper {
|
||||
height: 40rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
margin-top: 5rem;
|
||||
}
|
||||
|
||||
#arrow-down {
|
||||
left: 42%;
|
||||
top: 75%;
|
||||
}
|
||||
|
||||
#arrow-down img {
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
#footer-box .level-three {
|
||||
font-size: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.level-two p {
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user