wulkanowy.github.io/app.css

184 lines
3.1 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-06-14 19:12:56 +02:00
background: url(wallpaper.jpg) no-repeat center / cover fixed rgb(32, 35, 36);
2018-05-04 11:26:16 +02:00
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
2018-06-14 19:12:56 +02:00
height: 100%;
2018-05-04 11:26:16 +02:00
}
2018-06-14 18:16:45 +02:00
a {
color: #fff;
}
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: 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-06-20 00:26:57 +02:00
.header__link {
text-decoration: none;
}
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 {
2018-05-08 17:14:30 +02:00
width: 800px;
2018-05-04 11:26:16 +02:00
text-align: center;
}
2018-05-09 19:25:57 +02:00
@media (max-width: 800px) {
.main {
width: 100%;
}
}
2018-05-08 17:14:30 +02:00
.section {
margin-top: 40px;
2018-05-04 23:09:22 +02:00
}
2018-05-08 17:14:30 +02:00
.section__header {
text-shadow: #000 1px 1px 5px;
font-weight: normal;
2018-05-04 23:09:22 +02:00
}
2018-05-08 17:14:30 +02:00
.play-button {
display: inline-block;
2018-05-04 23:09:22 +02:00
}
2018-05-08 17:14:30 +02:00
.play-image {
max-width: 300px;
2018-05-04 23:09:22 +02:00
}
2018-06-14 19:08:39 +02:00
.button-container {
display: inline-block;
}
2018-05-04 11:26:16 +02:00
.button {
2018-06-14 19:08:39 +02:00
max-width: 100%;
width: 300px;
2018-05-04 11:26:16 +02:00
margin: 10px 0;
background: rgb(112, 50, 50);
border-radius: 3px;
color: #eee;
2018-06-14 19:08:39 +02:00
display: block;
2018-05-04 11:26:16 +02:00
font-size: 20px;
padding: 15px 25px;
2018-05-08 17:14:30 +02:00
text-align: left;
2018-05-04 11:26:16 +02:00
text-decoration: none;
transition: background 0.3s;
}
2018-06-14 19:08:39 +02:00
.button__info {
padding: 0;
margin: 5px 0 0;
display: flex;
justify-content: space-between;
}
2018-05-04 11:58:49 +02:00
.button:hover, .button:focus, .button:active {
background: rgb(90, 45, 45);
}
2018-06-14 16:53:36 +02:00
.button--dev {
2018-05-04 11:26:16 +02:00
background: #333;
}
2018-06-14 16:53:36 +02:00
.button--dev:hover,
.button--dev:focus,
.button--dev:active {
2018-05-04 11:58:49 +02:00
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
2018-06-14 19:08:39 +02:00
.button span {
2018-05-04 11:51:59 +02:00
font-size: small;
2018-06-14 19:08:39 +02:00
display: flex;
justify-content: space-between;
2018-05-04 11:51:59 +02:00
}
2018-05-04 23:09:22 +02:00
2018-06-20 00:26:57 +02:00
.button span[class$="date"] {
2018-06-14 19:19:31 +02:00
color: transparent;
transition: 0.3s color;
}
2018-06-20 00:26:57 +02:00
.button:hover span[class$="date"] {
2018-06-14 19:19:31 +02:00
color: #fff;
}
2018-06-20 00:26:57 +02:00
.button-more__link {
text-decoration: none;
}
.button-more__link:hover,
.button-more__link:focus,
.button-more__link:active
{
text-decoration: underline;
}
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;
}
.footer__item {
margin-right: 10px;
}
.footer__link {
color: #eeeeee;
text-decoration: none;
}
.footer__link:hover {
text-decoration: underline;
}