Reorganize http resources and build logic
This commit is contained in:
174
bundle/css/common.css
Normal file
174
bundle/css/common.css
Normal file
@@ -0,0 +1,174 @@
|
||||
html {
|
||||
height: 100%;
|
||||
background-color: black;
|
||||
color: white;
|
||||
font-family: Verdana, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
color: white;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
#background-image {
|
||||
background-image: url("https://cdn.enp.one/img/backgrounds/cl-photo-rt112.jpg");
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
|
||||
filter: blur(6px);
|
||||
-webkit-filter: blur(6px);
|
||||
|
||||
position: fixed;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
#background-image .overlay {
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.fadeout {
|
||||
-webkit-animation: fadeout 0.25s linear 1;
|
||||
-webkit-animation-fill-mode: forwards;
|
||||
animation: fadeout 0.25s linear 1;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
#preloader {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
background-color: black;
|
||||
z-index: 100;
|
||||
margin: 0;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
position: relative;
|
||||
backface-visibility: hidden;
|
||||
transform-origin: 0 0;
|
||||
transform: translate(-50%, -50%);
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
||||
background-size: contain;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.spinner div {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: 20px solid rgba(213, 213, 213, 1);
|
||||
border-top-color: transparent;
|
||||
border-radius: 50%;
|
||||
animation: spinner 1.5s linear infinite;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeout {
|
||||
0% {opacity: 1;}
|
||||
100% {opacity: 0;}
|
||||
}
|
||||
|
||||
@keyframes fadeout {
|
||||
0% {opacity: 1;}
|
||||
100% {opacity: 0;}
|
||||
}
|
||||
|
||||
@-webkit-keyframes spinner {
|
||||
0% { transform: translate(-50%,-50%) rotate(0deg); }
|
||||
100% { transform: translate(-50%,-50%) rotate(360deg); }
|
||||
}
|
||||
|
||||
@keyframes spinner {
|
||||
0% { transform: translate(-50%,-50%) rotate(0deg); }
|
||||
100% { transform: translate(-50%,-50%) rotate(360deg); }
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
transition: all 0.1s ease-in-out;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
text-shadow: 5px 5px 10px #fff, -5px -5px 10px #fff;
|
||||
}
|
||||
|
||||
ul.buttons {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
font-size: 1.75em;
|
||||
}
|
||||
|
||||
ul.buttons li {
|
||||
line-height: 1;
|
||||
padding: 0.5em;
|
||||
margin-left: 0.5em;
|
||||
margin-right: 0.5em;
|
||||
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
text-shadow:
|
||||
-3px -3px 5px #fff,
|
||||
-3px 3px 5px #fff,
|
||||
3px -3px 5px #fff,
|
||||
3px 3px 5px #fff,
|
||||
0px 0px 7px #ff0000;
|
||||
}
|
||||
|
||||
.button.nav:hover {
|
||||
text-shadow:
|
||||
0px 0px 7px #000,
|
||||
-5px -5px 10px #fff,
|
||||
-5px 5px 10px #fff,
|
||||
5px -5px 10px #fff,
|
||||
5px 5px 10px #fff;
|
||||
|
||||
-webkit-animation-name: pulse;
|
||||
-webkit-animation-duration: 5s;
|
||||
-webkit-animation-timing-function: linear;
|
||||
-webkit-animation-iteration-count: infinite;
|
||||
-webkit-animation-fill-mode: none;
|
||||
animation-name: pulse;
|
||||
animation-duration: 5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-fill-mode: none;
|
||||
}
|
||||
|
||||
.explore:hover { color: #5588e0; }
|
||||
|
||||
.youtube:hover { color: #ff0000; }
|
||||
|
||||
.instagram:hover { color: #c13584; }
|
||||
|
||||
.twitter:hover { color: #1da1f2; }
|
||||
Reference in New Issue
Block a user