Clean up code

This commit is contained in:
aggelosQQ 2016-08-28 03:37:20 +03:00
parent ae2b5b9f7c
commit af4eb89b16
2 changed files with 188 additions and 183 deletions

View file

@ -13,27 +13,28 @@ body {
}
.cover-1 {
font-size: 1.5em;
color: rgba(255,255,255,0.4);
color: rgba(255, 255, 255, 0.4);
text-align: center;
height: 100vh;
}
.cover-1 h3, .cover-1 a {
.cover-1 h3,
.cover-1 a {
margin-top: 23%;
}
.button {
padding: 15px;
background: rgba(255,255,255,0.1);
background: rgba(255, 255, 255, 0.1);
border-radius: 65px;
color: rgb(200,200,200);
color: rgb(200, 200, 200);
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
z-index:100;
z-index: 100;
}
.button:hover {
background: rgba(200,200,200 ,0.2);
background: rgba(200, 200, 200, 0.2);
}
.cover-2 {
background: url('../images/cover-2.png') center fixed;
@ -43,7 +44,7 @@ body {
padding-bottom: 40px;
}
.rule {
z-index:100;
z-index: 100;
display: none;
padding: 30px;
}
@ -51,7 +52,7 @@ body {
font-size: 2.8em;
z-index: 100;
display: inline-block;
background: rgba(230,230,230,0.1);
background: rgba(230, 230, 230, 0.1);
padding: 10px;
cursor: pointer;
user-select: none;
@ -65,12 +66,12 @@ body {
transition: all 0.2s ease-in-out;
}
#rules-title:hover {
background: rgba(250,250,250,0.2);
background: rgba(250, 250, 250, 0.2);
}
i.rules-icon {
position: relative;
float: right;
color: rgba(150,150,150,0.3);
color: rgba(150, 150, 150, 0.3);
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
@ -78,10 +79,10 @@ i.rules-icon {
transition: all 0.2s ease-in-out;
}
i.rules-icon:hover {
color: rgba(150,150,150,1);
color: rgba(150, 150, 150, 1);
}
.cover-2 p, .cover-2 h2 {
.cover-2 p,
.cover-2 h2 {
width: 75%;
margin: 0 auto;
}
@ -91,8 +92,8 @@ i.rules-icon:hover {
}
.section-title {
font-size: 4em;
color: rgba(255,255,255,0.9);
z-index:100;
color: rgba(255, 255, 255, 0.9);
z-index: 100;
}
.cover-3 {
background: url('../images/cover-3.png') no-repeat fixed;
@ -105,7 +106,7 @@ i.rules-icon:hover {
display: inline-block;
padding: 10px;
margin: 5px;
background: rgba(0,0,0,0.3);
background: rgba(0, 0, 0, 0.3);
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
@ -115,14 +116,14 @@ i.rules-icon:hover {
z-index: 800;
}
.admins > ul > li:hover {
background: rgba(100,100,100,0.3);
background: rgba(100, 100, 100, 0.3);
}
.admins ul {
text-align: center;
z-index: 101;
}
.admins li a {
color: rgba(255,255,255,0.5);
color: rgba(255, 255, 255, 0.5);
font-size: 1.2em;
z-index: 102;
}
@ -131,12 +132,14 @@ i.rules-icon:hover {
text-align: center;
z-index: 103;
}
.cover-1, .cover-2, .cover-3 {
border-bottom: 1px solid rgba(255,255,255,0.2);
.cover-1,
.cover-2,
.cover-3 {
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.rest > li > a {
font-size: 1.5em;
color: rgba(255,255,255,0.6);
color: rgba(255, 255, 255, 0.6);
text-align: center;
padding: 10px;
border-radius: 50px;
@ -147,10 +150,9 @@ i.rules-icon:hover {
transition: all 0.2s ease-in-out;
z-index: 100;
}
.rest > li > a:hover {
background: rgba(255,255,255,0.2);
color: rgb(255,255,255);
background: rgba(255, 255, 255, 0.2);
color: rgb(255, 255, 255);
}
.rest > li {
margin-top: 50px;
@ -163,12 +165,12 @@ i.rules-icon:hover {
.rest > li:hover {
transform: translateX(10px);
}
.useful li {
.useful li {
display: inline-block;
font-size: 1.2em;
color: rgba(255,255,255,0.6);
color: rgba(255, 255, 255, 0.6);
text-align: center;
border: 2px solid rgba(255,255,255,0.6);
border: 2px solid rgba(255, 255, 255, 0.6);
padding: 10px;
margin-right: 10px;
border-radius: 50px;
@ -186,8 +188,8 @@ i.rules-icon:hover {
margin-bottom: 10px;
}
.useful li:hover {
background: rgba(255,255,255,0.2);
color: rgb(255,255,255);
background: rgba(255, 255, 255, 0.2);
color: rgb(255, 255, 255);
transform: translateY(-5px);
}
#note {
@ -201,15 +203,15 @@ i.rules-icon:hover {
margin-bottom: -20px;
}
#note a {
color: rgb(200,200,200);
color: rgb(200, 200, 200);
font-weight: bold;
}
.nav-wrapper {
background: rgba(0,0,0,0.3);
background: rgba(0, 0, 0, 0.3);
}
.cover-2 a {
font-size: 1.3em;
color: rgba(255,255,255,0.3);
color: rgba(255, 255, 255, 0.3);
}
.head-icon {
width: 30px;
@ -219,11 +221,11 @@ i.rules-icon:hover {
border-radius: 50%;
}
.modal {
background: rgba(0,0,0,0.5);
background: rgba(0, 0, 0, 0.5);
color: #ccc;
}
.modal a {
color: rgb(200,200,200);
color: rgb(200, 200, 200);
}
.modal ul {
-webkit-column-count: 3;
@ -235,5 +237,5 @@ i.rules-icon:hover {
margin-bottom: 38px;
}
.modal > .modal-footer {
background: rgba(50,50,50,0.6);
background: rgba(50, 50, 50, 0.6);
}

View file

@ -1,25 +1,28 @@
* { margin: 0; padding: 0;}
* {
margin: 0;
padding: 0;
}
body {
margin-bottom: 50px;
background: #222 url('../images/staff-bg.png') center fixed;
color: #ccc;
}
.nav-wrapper {
background: rgba(0,0,0,0.2);
background: rgba(0, 0, 0, 0.2);
}
a {
color: rgb(200,200,200);
color: rgb(200, 200, 200);
}
.admins {
width: 85%;
margin: 0 auto;
background: rgba(100,100,100,0.1);
background: rgba(100, 100, 100, 0.1);
padding: 10px;
}
.admins li {
display: inline-block;
padding: 10px;
background: rgba(100,100,100,0.2);
background: rgba(100, 100, 100, 0.2);
margin: 5px;
border-radius: 50px;
}
@ -34,7 +37,7 @@ h2 {
margin-bottom: -15px;
}
#note a {
color: rgb(200,200,200);
color: rgb(200, 200, 200);
font-weight: bold;
}
.rank {