wulkanowy.github.io/app.css

150 lines
2.7 KiB
CSS
Raw Normal View History

2018-05-04 11:26:16 +02:00
html {
box-sizing: border-box;
2018-05-04 12:22:45 +02:00
height: 100%;
2018-05-04 11:26:16 +02:00
}
*, *:before, *:after {
box-sizing: inherit;
}
html, body, .wrapper {
margin: 0;
padding: 0;
width: 100%;
}
body {
2018-05-04 23:09:22 +02:00
color: #fff;
2018-05-04 11:26:16 +02:00
background: url(wallpaper.jpg) no-repeat center / cover fixed;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
2018-05-04 23:09:22 +02:00
height: 100%;
2018-05-04 11:26:16 +02:00
}
.wrapper {
align-items: center;
background: -moz-radial-gradient(center center, circle cover, transparent, #000);
background: -ms-radial-gradient(center center, circle cover, transparent, #000);
background: -webkit-radial-gradient(center center, circle cover, transparent, #000);
background: radial-gradient(center center, circle cover, transparent, #000);
display: flex;
flex-direction: column;
justify-content: center;
2018-05-04 12:22:45 +02:00
min-height: 100%;
2018-05-04 12:24:30 +02:00
padding: 30px 0;
2018-05-04 11:26:16 +02:00
}
.header__title {
font-size: 60px;
font-size: calc(50px + 16 * (100vw - 320px) / (960 - 320));
font-weight: normal;
2018-05-04 12:29:40 +02:00
margin-bottom: 20px;
2018-05-04 11:26:16 +02:00
text-align: center;
text-shadow: #000 5px 5px 5px;
}
2018-05-04 12:29:40 +02:00
.header__description {
text-shadow: #000 1px 1px 5px;
line-height: 1.7;
margin-bottom: 40px;
text-align: center;
}
2018-05-04 11:26:16 +02:00
.main {
margin: 0 0 50px;
2018-05-04 23:09:22 +02:00
padding: 0 10px;
2018-05-04 11:26:16 +02:00
text-align: center;
}
2018-05-04 23:09:22 +02:00
.main p {
line-height: 1.7;
text-align: left;
text-shadow: #000 1px 1px 5px;
}
.main--fluid {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
.main--background {
background: rgba(255, 255, 255, 0.8);
}
.main--background p {
color: #333;
text-shadow: none;
}
.container {
margin: 0 auto;
max-width: 700px;
padding: 10px 20px;
}
2018-05-04 11:26:16 +02:00
.button {
width: 100%;
max-width: 300px;
margin: 10px 0;
background: rgb(112, 50, 50);
border-radius: 3px;
color: #eee;
display: inline-block;
font-size: 20px;
padding: 15px 25px;
text-decoration: none;
transition: background 0.3s;
}
2018-05-04 11:58:49 +02:00
.button:hover, .button:focus, .button:active {
background: rgb(90, 45, 45);
}
2018-05-04 11:26:16 +02:00
.button--nightly {
background: #333;
}
2018-05-04 11:58:49 +02:00
.button--nightly:hover,
.button--nightly:focus,
.button--nightly:active {
background: #222;
2018-05-04 11:26:16 +02:00
}
.github {
transition: opacity 0.3s;
}
.github:hover, .github:focus, .github:active {
opacity: 0.7;
}
2018-05-04 11:51:59 +02:00
[id$="version"] {
font-size: small;
}
2018-05-04 23:09:22 +02:00
.footer {
margin-top: 30px;
text-align: center;
}
.footer__nav {
margin-top: 30px;
list-style: none;
padding: 0;
display: flex;
}
.footer__item {
margin-right: 10px;
}
.footer__link {
color: #eeeeee;
text-decoration: none;
}
.footer__link:hover {
text-decoration: underline;
}