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