Fix ─ Some mobile responsive problems
This commit is contained in:
2 files changed
+13
-31
No files matched your search
@@ -41,7 +41,7 @@ body #div-content {
|
||||
grid-template-columns: minmax(0, 90%);
|
||||
grid-template-rows: auto;
|
||||
gap: 1.5rem;
|
||||
margin-top: 2rem;
|
||||
margin-top: 0rem;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
|
||||
+12
-30
@@ -1,11 +1,11 @@
|
||||
.nav-toggler {
|
||||
position: fixed;
|
||||
z-index: 1002;
|
||||
top: 0.25%;
|
||||
left: 2.5%;
|
||||
height: 5%;
|
||||
width: 3%;
|
||||
border-radius: 20%;
|
||||
top: 12px;
|
||||
left: 16px;
|
||||
height: 28px;
|
||||
width: 32px;
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
@@ -19,17 +19,17 @@
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 5%;
|
||||
height: 3px;
|
||||
background-color: #235573;
|
||||
transition: transform 0.3s ease-out, opacity 0.1s ease-out;
|
||||
}
|
||||
|
||||
.l1 {
|
||||
transform: translateY(-450%);
|
||||
transform: translateY(-9px);
|
||||
}
|
||||
|
||||
.l3 {
|
||||
transform: translateY(450%);
|
||||
transform: translateY(9px);
|
||||
}
|
||||
|
||||
.nav-toggler.active .l1 {
|
||||
@@ -104,6 +104,7 @@ nav a:hover {
|
||||
background-image: linear-gradient( #1b1b1b00, #1B4056 );
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#nav-menu {
|
||||
@@ -123,7 +124,7 @@ body #arrow-down {
|
||||
flex-direction: row;
|
||||
justify-self: center;
|
||||
align-items: end;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
#arrow-down {
|
||||
@@ -143,14 +144,13 @@ body #arrow-down {
|
||||
}
|
||||
|
||||
h1 {
|
||||
position: fixed;
|
||||
font-size: 60px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
position: fixed;
|
||||
margin-top: 10rem;
|
||||
font-size: 30px;
|
||||
margin: 0.5rem 0 0 0;
|
||||
}
|
||||
|
||||
body #footer-box {
|
||||
@@ -252,11 +252,6 @@ nav legend {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.nav-toggler {
|
||||
width: 6%;
|
||||
height: 4%;
|
||||
}
|
||||
|
||||
#logo {
|
||||
margin-left: 85%;
|
||||
}
|
||||
@@ -271,11 +266,6 @@ nav legend {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.nav-toggler {
|
||||
width: 10%;
|
||||
height: 4%;
|
||||
}
|
||||
|
||||
nav a {
|
||||
font-size: 90%;
|
||||
}
|
||||
@@ -299,7 +289,6 @@ nav legend {
|
||||
|
||||
h2 {
|
||||
font-size: 22px;
|
||||
margin-top: 7rem;
|
||||
}
|
||||
|
||||
#arrow-down {
|
||||
@@ -337,12 +326,6 @@ nav legend {
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.nav-toggler {
|
||||
width: 12%;
|
||||
height: 4%;
|
||||
left: 3%;
|
||||
}
|
||||
|
||||
#logo {
|
||||
margin-left: 75%;
|
||||
}
|
||||
@@ -361,7 +344,6 @@ nav legend {
|
||||
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
margin-top: 5rem;
|
||||
}
|
||||
|
||||
#arrow-down {
|
||||
|
||||
Reference in new issue
Block a user