Fix Missplacement
This commit is contained in:
1 parent
27aa53ba7d
commit
6beb9d3020
2 files changed
+2
-43
No files matched your search
+2
-43
@@ -6,29 +6,23 @@
|
|||||||
font-family: 'Oswald', sans-serif;
|
font-family: 'Oswald', sans-serif;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
body::-webkit-scrollbar {
|
body::-webkit-scrollbar {
|
||||||
width: 1em;
|
width: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
body::-webkit-scrollbar-track {
|
body::-webkit-scrollbar-track {
|
||||||
box-shadow: inset 0 0 6px rgba(37, 67, 152, 0.3);
|
box-shadow: inset 0 0 6px rgba(37, 67, 152, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
body::-webkit-scrollbar-thumb {
|
body::-webkit-scrollbar-thumb {
|
||||||
background-color: darkgrey;
|
background-color: darkgrey;
|
||||||
outline: 1px solid slategrey;
|
outline: 1px solid slategrey;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: rgba(126, 134, 145, .4);
|
background: rgba(126, 134, 145, .4);
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -40,34 +34,27 @@ nav {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rules {
|
.rules {
|
||||||
margin-left: 200px;
|
margin-left: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#about, #rules {
|
#about, #rules {
|
||||||
height: 800px;
|
height: 800px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#about-content, #rules-content, #require-content{
|
#about-content, #rules-content, #require-content{
|
||||||
transform: translate(0px, 300px);
|
transform: translate(0px, 300px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-link {
|
.text-link {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li {
|
ul li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li::before {
|
ul li::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -78,11 +65,9 @@ ul li::before {
|
|||||||
height: 3px;
|
height: 3px;
|
||||||
transition: 0.8s all;
|
transition: 0.8s all;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li:hover::before {
|
ul li:hover::before {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li a{
|
ul li a{
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@@ -90,31 +75,25 @@ ul li a{
|
|||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
transition: 0.8s all;
|
transition: 0.8s all;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li a:hover {
|
ul li a:hover {
|
||||||
color: #00a2ff
|
color: #00a2ff
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
transform: translate(0px, 15px);
|
transform: translate(0px, 15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo a {
|
.logo a {
|
||||||
color: white;
|
color: white;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 150%;
|
font-size: 150%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-wrap {
|
.image-wrap {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
filter: brightness(80%);
|
filter: brightness(80%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-content{
|
.main-content{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
@@ -122,42 +101,35 @@ ul li a:hover {
|
|||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
width: 70%;
|
width: 70%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact-content {
|
.contact-content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 310%;
|
top: 240%;
|
||||||
left: 65%;
|
left: 65%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.require-content {
|
.require-content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 600%;
|
top: 460%;
|
||||||
left: 10%;
|
left: 10%;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.details-box {
|
.details-box {
|
||||||
color: white
|
color: white
|
||||||
}
|
}
|
||||||
|
|
||||||
.details-box h2 {
|
.details-box h2 {
|
||||||
font-size: 2.2vw;
|
font-size: 2.2vw;
|
||||||
font-family: arial;
|
font-family: arial;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.details-box h1 {
|
.details-box h1 {
|
||||||
font-size: 5vw;
|
font-size: 5vw;
|
||||||
font-family: 'Oswald', sans-serif;
|
font-family: 'Oswald', sans-serif;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.details-box p {
|
.details-box p {
|
||||||
font-family: arial;
|
font-family: arial;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.join-btn {
|
.join-btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 11px 40px;
|
padding: 11px 40px;
|
||||||
@@ -170,26 +142,21 @@ ul li a:hover {
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
.join-btn:hover {
|
.join-btn:hover {
|
||||||
background-color: #f6ba18;
|
background-color: #f6ba18;
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-container p,
|
.about-container p,
|
||||||
.creator p {
|
.creator p {
|
||||||
font-family: arial;
|
font-family: arial;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Mobile Nav */
|
/* Mobile Nav */
|
||||||
|
|
||||||
.menu {
|
.menu {
|
||||||
display: none;
|
display: none;
|
||||||
color: white;
|
color: white;
|
||||||
size: 125%;
|
size: 125%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlay {
|
.overlay {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 0;
|
width: 0;
|
||||||
@@ -201,11 +168,9 @@ ul li a:hover {
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
transition: all 0.5s ease 0s;
|
transition: all 0.5s ease 0s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlay--active {
|
.overlay--active {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlay__content {
|
.overlay__content {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -213,7 +178,6 @@ ul li a:hover {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlay a {
|
.overlay a {
|
||||||
color: white;
|
color: white;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -222,12 +186,10 @@ ul li a:hover {
|
|||||||
display: block;
|
display: block;
|
||||||
transition: all 0.3s ease 0s;
|
transition: all 0.3s ease 0s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlay a:hover,
|
.overlay a:hover,
|
||||||
.overlay a:focus {
|
.overlay a:focus {
|
||||||
color: #0088a9;
|
color: #0088a9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlay .close {
|
.overlay .close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 20px;
|
top: 20px;
|
||||||
@@ -236,7 +198,6 @@ ul li a:hover {
|
|||||||
color: #edf0f1;
|
color: #edf0f1;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-height: 450px) {
|
@media screen and (max-height: 450px) {
|
||||||
.overlay a {
|
.overlay a {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
@@ -247,7 +208,6 @@ ul li a:hover {
|
|||||||
right: 35px;
|
right: 35px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 800px) {
|
@media only screen and (max-width: 800px) {
|
||||||
.nav__links,
|
.nav__links,
|
||||||
.cta {
|
.cta {
|
||||||
@@ -257,7 +217,6 @@ ul li a:hover {
|
|||||||
display: initial;
|
display: initial;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Mobile background fix*/
|
/* Mobile background fix*/
|
||||||
@media all and (max-width:480px) {
|
@media all and (max-width:480px) {
|
||||||
img {display:block;margin:0 auto;}
|
img {display:block;margin:0 auto;}
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 6.0 KiB |
Reference in new issue
Block a user