dc09.ru-old/css/style.css
2021-07-23 11:00:33 +04:00

168 lines
2.9 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');
@font-face {
font-family: 'Minecraft';
src: url('../fonts/minecraft.ttf') format('truetype');
font-style: normal;
font-weight: normal;
}
body {
width: 100%;
height: 100%;
overflow: hidden;
padding: 0;
margin: 0;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #001;
font-family: 'Montserrat', sans-serif;
}
img.logo {
width: 4rem;
cursor: default;
pointer-events: none;
}
.menu {
top: 0;
left: 0;
margin: 10px;
border-radius: 5px;
position: fixed;
background-color: #514b9066;
z-index: 998;
}
.top-menu {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: row;
justify-content: start;
align-items: center;
}
.top-menu li {
padding: 10px;
}
.top-menu li a {
color: #fff;
text-decoration: none;
font-family: 'Montserrat', sans-serif;
font-size: 1.8rem;
}
.context-menu-like {
margin: 0;
padding: 0;
/*display: none;*/
opacity: 0;
pointer-events: none;
position: absolute;
border-radius: 5px;
background-color: #222222d4;
}
.context-menu-like ul {
margin: 0;
padding: 0;
}
.context-menu-like li {
padding: 5px;
display: block;
padding: 10px;
border-radius: 5px;
color: #fff;
font-family: 'Montserrat', sans-serif;
font-size: 1.3rem;
}
.context-menu-like li:hover {
background-color: #444;
}
.context-menu-like li a {
color: #fff;
text-decoration: none;
font-family: 'Montserrat', sans-serif;
font-size: 1.3rem;
}
.submenu {
left: 0;
margin-top: 5px;
}
.submenu:before {
content: "";
border: solid transparent;
position: absolute;
left: 8px;
bottom: 100%;
border-bottom-color: #222;
border-width: 9px;
margin-left: 0;
}
#item-minecraft {
padding-bottom: 12px;
}
span.minecraft-text {
font-family: 'Minecraft';
font-size: 1.25rem;
}
.popup {
z-index: 999;
}
.card-wrapper {
position: absolute;
border-radius: 10px;
color: #fff;
font-family: 'Montserrat', sans-serif;
}
.card { margin: 10px; }
.about-card-wrapper {
margin-top: 18%;
margin-left: 65%;
}
.msg-wrapper {
margin-top: 5%;
margin-left: 65%;
}
.card h1 {
margin: 0 0 0 0;
padding: 0;
font-size: 1.8em;
font-weight: 700;
}
.card h2 {
margin: 0 0 10px 0;
padding: 0;
font-size: 1.3em;
font-weight: 500;
}
.space-obj {
position: fixed;
text-align: center;
width: 100%;
height: 100%;
z-index: 997;
}
.space-obj > img {
/* 360 degrees in 20 minutes (instead of 23 hours) */
animation: rotate 1200s linear 0s infinite normal;
/* unselectable */
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
@keyframes rotate {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}