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

83 lines
1.5 KiB
CSS
Raw Normal View History

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