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

@ -1,229 +1,231 @@
* { * {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
body { body {
color: #fff; color: #fff;
font-family: 'Catamaran', sans-serif; font-family: 'Catamaran', sans-serif;
background: #222 url('../images/cover-1.png') no-repeat center fixed; background: #222 url('../images/cover-1.png') no-repeat center fixed;
background-size: cover; background-size: cover;
} }
.brand-logo { .brand-logo {
font-family: 'Catamaran', sans-serif; font-family: 'Catamaran', sans-serif;
} }
.cover-1 { .cover-1 {
font-size: 1.5em; font-size: 1.5em;
color: rgba(255,255,255,0.4); color: rgba(255, 255, 255, 0.4);
text-align: center; text-align: center;
height: 100vh; height: 100vh;
} }
.cover-1 h3, .cover-1 a { .cover-1 h3,
margin-top: 23%; .cover-1 a {
margin-top: 23%;
} }
.button { .button {
padding: 15px; padding: 15px;
background: rgba(255,255,255,0.1); background: rgba(255, 255, 255, 0.1);
border-radius: 65px; border-radius: 65px;
color: rgb(200,200,200); color: rgb(200, 200, 200);
-webkit-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
z-index:100; z-index: 100;
} }
.button:hover { .button:hover {
background: rgba(200,200,200 ,0.2); background: rgba(200, 200, 200, 0.2);
} }
.cover-2 { .cover-2 {
background: url('../images/cover-2.png') center fixed; background: url('../images/cover-2.png') center fixed;
background-size: cover; background-size: cover;
text-align: center; text-align: center;
height: auto; height: auto;
padding-bottom: 40px; padding-bottom: 40px;
} }
.rule { .rule {
z-index:100; z-index: 100;
display: none; display: none;
padding: 30px; padding: 30px;
} }
#rules-title { #rules-title {
font-size: 2.8em; font-size: 2.8em;
z-index: 100; z-index: 100;
display: inline-block; display: inline-block;
background: rgba(230,230,230,0.1); background: rgba(230, 230, 230, 0.1);
padding: 10px; padding: 10px;
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
-moz-user-select: none; -moz-user-select: none;
-webkit-user-select: none; -webkit-user-select: none;
-ms-user-select: none; -ms-user-select: none;
-webkit-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
} }
#rules-title:hover { #rules-title:hover {
background: rgba(250,250,250,0.2); background: rgba(250, 250, 250, 0.2);
} }
i.rules-icon { i.rules-icon {
position: relative; position: relative;
float: right; float: right;
color: rgba(150,150,150,0.3); color: rgba(150, 150, 150, 0.3);
-webkit-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
} }
i.rules-icon:hover { i.rules-icon:hover {
color: rgba(150,150,150,1); color: rgba(150, 150, 150, 1);
} }
.cover-2 p,
.cover-2 p, .cover-2 h2 { .cover-2 h2 {
width: 75%; width: 75%;
margin: 0 auto; margin: 0 auto;
} }
.cover-2 p { .cover-2 p {
font-size: 1.2em; font-size: 1.2em;
height: auto; height: auto;
} }
.section-title { .section-title {
font-size: 4em; font-size: 4em;
color: rgba(255,255,255,0.9); color: rgba(255, 255, 255, 0.9);
z-index:100; z-index: 100;
} }
.cover-3 { .cover-3 {
background: url('../images/cover-3.png') no-repeat fixed; background: url('../images/cover-3.png') no-repeat fixed;
background-size: cover; background-size: cover;
} }
.cover-3 .section-title { .cover-3 .section-title {
text-align: center; text-align: center;
} }
.admins > ul > li { .admins > ul > li {
display: inline-block; display: inline-block;
padding: 10px; padding: 10px;
margin: 5px; margin: 5px;
background: rgba(0,0,0,0.3); background: rgba(0, 0, 0, 0.3);
-webkit-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
border-radius: 150px; border-radius: 150px;
z-index: 800; z-index: 800;
} }
.admins > ul > li:hover { .admins > ul > li:hover {
background: rgba(100,100,100,0.3); background: rgba(100, 100, 100, 0.3);
} }
.admins ul { .admins ul {
text-align: center; text-align: center;
z-index: 101; z-index: 101;
} }
.admins li a { .admins li a {
color: rgba(255,255,255,0.5); color: rgba(255, 255, 255, 0.5);
font-size: 1.2em; font-size: 1.2em;
z-index: 102; z-index: 102;
} }
.rank { .rank {
font-size: 2em; font-size: 2em;
text-align: center; text-align: center;
z-index: 103; z-index: 103;
} }
.cover-1, .cover-2, .cover-3 { .cover-1,
border-bottom: 1px solid rgba(255,255,255,0.2); .cover-2,
.cover-3 {
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
} }
.rest > li > a { .rest > li > a {
font-size: 1.5em; font-size: 1.5em;
color: rgba(255,255,255,0.6); color: rgba(255, 255, 255, 0.6);
text-align: center; text-align: center;
padding: 10px; padding: 10px;
border-radius: 50px; border-radius: 50px;
-webkit-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
z-index: 100; z-index: 100;
} }
.rest > li > a:hover { .rest > li > a:hover {
background: rgba(255,255,255,0.2); background: rgba(255, 255, 255, 0.2);
color: rgb(255,255,255); color: rgb(255, 255, 255);
} }
.rest > li { .rest > li {
margin-top: 50px; margin-top: 50px;
-webkit-transition: all 0.5s ease-in-out; -webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out;
} }
.rest > li:hover { .rest > li:hover {
transform: translateX(10px); transform: translateX(10px);
} }
.useful li { .useful li {
display: inline-block; display: inline-block;
font-size: 1.2em; font-size: 1.2em;
color: rgba(255,255,255,0.6); color: rgba(255, 255, 255, 0.6);
text-align: center; text-align: center;
border: 2px solid rgba(255,255,255,0.6); border: 2px solid rgba(255, 255, 255, 0.6);
padding: 10px; padding: 10px;
margin-right: 10px; margin-right: 10px;
border-radius: 50px; border-radius: 50px;
width: 200px; width: 200px;
-webkit-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
margin-bottom: 10px; margin-bottom: 10px;
z-index: 100; z-index: 100;
} }
.useful > li > a > i { .useful > li > a > i {
font-size: 2em; font-size: 2em;
margin-bottom: 10px; margin-bottom: 10px;
} }
.useful li:hover { .useful li:hover {
background: rgba(255,255,255,0.2); background: rgba(255, 255, 255, 0.2);
color: rgb(255,255,255); color: rgb(255, 255, 255);
transform: translateY(-5px); transform: translateY(-5px);
} }
#note { #note {
text-align: center; text-align: center;
color: #ccc; color: #ccc;
border-radius: 150px; border-radius: 150px;
padding: 15px; padding: 15px;
z-index: 1; z-index: 1;
} }
#note h5 { #note h5 {
margin-bottom: -20px; margin-bottom: -20px;
} }
#note a { #note a {
color: rgb(200,200,200); color: rgb(200, 200, 200);
font-weight: bold; font-weight: bold;
} }
.nav-wrapper { .nav-wrapper {
background: rgba(0,0,0,0.3); background: rgba(0, 0, 0, 0.3);
} }
.cover-2 a { .cover-2 a {
font-size: 1.3em; font-size: 1.3em;
color: rgba(255,255,255,0.3); color: rgba(255, 255, 255, 0.3);
} }
.head-icon { .head-icon {
width: 30px; width: 30px;
height: 30px; height: 30px;
float: left; float: left;
margin-right: 5px; margin-right: 5px;
border-radius: 50%; border-radius: 50%;
} }
.modal { .modal {
background: rgba(0,0,0,0.5); background: rgba(0, 0, 0, 0.5);
color: #ccc; color: #ccc;
} }
.modal a { .modal a {
color: rgb(200,200,200); color: rgb(200, 200, 200);
} }
.modal ul { .modal ul {
-webkit-column-count: 3; -webkit-column-count: 3;
@ -232,8 +234,8 @@ i.rules-icon:hover {
display: inline-block; display: inline-block;
} }
.modal h4 { .modal h4 {
margin-bottom: 38px; margin-bottom: 38px;
} }
.modal > .modal-footer { .modal > .modal-footer {
background: rgba(50,50,50,0.6); background: rgba(50, 50, 50, 0.6);
} }

View file

@ -1,52 +1,55 @@
* { margin: 0; padding: 0;} * {
margin: 0;
padding: 0;
}
body { body {
margin-bottom: 50px; margin-bottom: 50px;
background: #222 url('../images/staff-bg.png') center fixed; background: #222 url('../images/staff-bg.png') center fixed;
color: #ccc; color: #ccc;
} }
.nav-wrapper { .nav-wrapper {
background: rgba(0,0,0,0.2); background: rgba(0, 0, 0, 0.2);
} }
a { a {
color: rgb(200,200,200); color: rgb(200, 200, 200);
} }
.admins { .admins {
width: 85%; width: 85%;
margin: 0 auto; margin: 0 auto;
background: rgba(100,100,100,0.1); background: rgba(100, 100, 100, 0.1);
padding: 10px; padding: 10px;
} }
.admins li { .admins li {
display: inline-block; display: inline-block;
padding: 10px; padding: 10px;
background: rgba(100,100,100,0.2); background: rgba(100, 100, 100, 0.2);
margin: 5px; margin: 5px;
border-radius: 50px; border-radius: 50px;
} }
h2 { h2 {
font-size: 1.5em; font-size: 1.5em;
font-family: 'Catamaran', sans-serif; font-family: 'Catamaran', sans-serif;
} }
#note { #note {
text-align: center; text-align: center;
} }
#note h5 { #note h5 {
margin-bottom: -15px; margin-bottom: -15px;
} }
#note a { #note a {
color: rgb(200,200,200); color: rgb(200, 200, 200);
font-weight: bold; font-weight: bold;
} }
.rank { .rank {
text-align: center; text-align: center;
} }
.page-title { .page-title {
text-align: center; text-align: center;
font-size: 3.8em; font-size: 3.8em;
font-weight: 300; font-weight: 300;
} }
.brand-logo { .brand-logo {
font-family: 'Catamaran', sans-serif; font-family: 'Catamaran', sans-serif;
font-size: 2em; font-size: 2em;
font-weight: 200; font-weight: 200;
} }