Files
warframe-center/public/style.css
Anatoly fc01b7e7b9
All checks were successful
continuous-integration/drone/push Build is passing
i18n
2022-03-08 03:00:46 +03:00

180 lines
2.4 KiB
CSS

:root {
--bg-main: white;
--brand-clr: rgb(26, 34, 58);
--bg: rgb(16, 22, 25);
--text-clr: black;
--accent-clr: red;
}
* {
font-family: sans-serif;
font-weight: 100;
}
body {
position: relative;
margin: 0;
min-height: 100vh;
background: var(--bg);
color: var(--text-clr);
text-align: center;
}
a {
text-decoration: none;
color: var(--accent-clr);
}
.main-column {
width: 800px;
background: var(--bg-main);
padding: 32px 128px;
box-sizing: border-box;
margin: 128px auto;
border: 2px solid var(--accent-clr);
}
.main-column::before {
position: absolute;
left: 0px;
width: 50%;
border-top: 2px solid var(--accent-clr);
z-index: -1;
content: '';
}
.main-column::after {
position: absolute;
right: 0px;
width: 50%;
border-top: 2px solid var(--accent-clr);
z-index: -1;
content: '';
}
.hero {
width: 100%;
padding: 128px 0;
position: relative;
box-sizing: border-box;
background: white;
color: black;
text-align: center;
overflow: hidden;
}
.hero > .main {
position: relative;
margin: auto;
display: flex;
flex-direction: column;
z-index: 10;
color: var(--brand-clr);
}
.hero .logo, .hero .text {
margin: auto;
width: 400px;
}
#gunner1, #gunner2 {
position: absolute;
max-width: 500px;
height: 500px;
object-fit: contain;
transition: transform .1s;
top: calc(50% - 250px);
}
#gunner1 {
left: 0;
}
#gunner2 {
right: 0;
}
.languages {
position: absolute;
left: 0;
top: 0;
}
.languages > a {
position: relative;
display: block;
margin: 10px;
padding: 10px;
height: 32px;
}
.languages img {
max-height: 100%;
}
.controls {
margin: 32px auto;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-main);
padding: 8px;
width: max-content;
}
.controls > * {
margin: 0 4px;
}
table {
min-width: 500px;
margin: 32px auto;
border-spacing: 0;
background: var(--bg-main);
}
tr {
text-align: left;
}
td {
padding: 2px 16px;
}
th {
padding: 8px 16px;
font-weight: 400;
}
.name {
text-transform: capitalize;
}
.timestamp {
font-size: 14px;
padding-bottom: 16px;
position: sticky;
top: 100%;
color: white;
}
@media screen and (max-width: 500px) {
.hero .logo {
width: 100%;
}
#gunner1, #gunner2 {
display: none;
}
.main-column {
width: 100%;
border: none;
padding: 72px 0;
}
table {
min-width: 100%;
}
}