1
0
Fork 0
mirror of https://github.com/Findus23/nonsense.git synced 2024-09-19 16:03:50 +02:00
nonsense/public/style.css

123 lines
1.8 KiB
CSS
Raw Normal View History

2017-12-11 14:55:40 +01:00
body, html {
padding: 0;
margin: 0;
background: #003399;
height: 100%;
2022-08-17 19:53:39 +02:00
font-family: "Noto Sans", "Liberation Sans", "Verdana", sans-serif;
}
2017-12-11 14:55:40 +01:00
#contentbox {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
2022-08-17 19:53:39 +02:00
height: 100%;
}
2017-12-11 14:55:40 +01:00
#box {
background: #ffcc00;
2022-08-17 19:53:39 +02:00
padding: 16px;
}
2017-12-11 14:55:40 +01:00
#buttonwrapper {
position: fixed;
top: 50px;
2017-12-11 18:47:15 +01:00
text-decoration: none;
display: flex;
2022-08-17 19:53:39 +02:00
align-items: center;
}
@media screen and (max-height: 400px) {
#buttonwrapper {
top: 10px;
}
}
#buttonwrapper:hover {
text-decoration: none;
}
#buttonwrapper:hover #icon {
transform: rotate(90deg);
}
2017-12-11 14:55:40 +01:00
#icon {
width: 70px;
height: 70px;
2022-08-17 19:53:39 +02:00
transition: transform 0.3s;
margin-right: 10px;
}
2017-12-11 14:55:40 +01:00
#button {
color: white;
2022-08-17 19:53:39 +02:00
/*text-transform: uppercase;*/
font-weight: bold;
}
2017-12-11 14:55:40 +01:00
#name {
2017-12-11 19:04:28 +01:00
font-size: 2.25rem;
2017-12-11 14:55:40 +01:00
text-align: center;
2022-08-17 19:53:39 +02:00
margin-bottom: 16px;
}
2017-12-11 19:04:28 +01:00
#description {
2022-08-17 19:53:39 +02:00
font-size: 1.2rem;
}
2017-12-12 14:31:04 +01:00
#share {
position: absolute;
bottom: 0;
right: 0;
2022-08-17 19:53:39 +02:00
padding: 10px;
}
#share svg {
fill: white;
width: 40px;
height: 40px;
display: block;
}
2017-12-12 14:31:04 +01:00
2017-12-12 14:45:42 +01:00
.github-corner svg {
fill: #ffcc00;
color: #003399;
position: absolute;
top: 0;
border: 0;
2022-08-17 19:53:39 +02:00
right: 0;
}
2017-12-12 14:31:04 +01:00
.github-corner:hover .octo-arm {
2022-08-17 19:53:39 +02:00
animation: octocat-wave 560ms ease-in-out;
}
2017-12-12 14:31:04 +01:00
2018-01-20 21:32:55 +01:00
#more_information {
position: absolute;
bottom: 0;
right: 0;
2022-08-17 19:53:39 +02:00
padding: 10px;
}
#more_information svg {
fill: white;
width: 32px;
height: 32px;
display: block;
}
2018-01-20 21:32:55 +01:00
2017-12-12 14:31:04 +01:00
@keyframes octocat-wave {
0%, 100% {
2022-08-17 19:53:39 +02:00
transform: rotate(0);
}
2017-12-12 14:31:04 +01:00
20%, 60% {
2022-08-17 19:53:39 +02:00
transform: rotate(-25deg);
}
2017-12-12 14:31:04 +01:00
40%, 80% {
2022-08-17 19:53:39 +02:00
transform: rotate(10deg);
}
}
2017-12-12 14:31:04 +01:00
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
2022-08-17 19:53:39 +02:00
animation: none;
}
2017-12-12 14:31:04 +01:00
.github-corner .octo-arm {
2022-08-17 19:53:39 +02:00
animation: octocat-wave 560ms ease-in-out;
}
}
/*# sourceMappingURL=style.css.map */