planet-wars/backend/static/style/base.css
2020-04-06 14:36:30 +02:00

224 lines
3.3 KiB
CSS

.nav ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
.nav li {
float: left;
border-right: 1px solid #bbb;
}
.nav li:last-child {
border-right: none;
}
.nav li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.nav .active {
color: #ff7f00;
}
/* Change the link color to #111 (black) on hover */
.nav li a:hover {
filter: brightness(80%);
}
.content {
height: 100%;
}
body {
height: 100vh;
display: flex;
flex-direction: column;
align-items: stretch;
}
.content {
height: 100%;
width: 100%;
display: flex;
justify-content: start;
background: black;
color: #ff7f00;
line-height: 1.5rem;
overflow: hidden;
align-items: center;
}
.info_wrapper {
width: 100%;
height: 100%;
max-height: 100%;
display: flex;
}
.info {
/* max-width: 80%;
width: 1000px;
margin: 70px auto; */
display: flex;
flex-direction: column;
justify-content: space-between;
width: 70%;
margin: 70px auto;
text-align: center;
flex-grow: 1;
}
.info .steps {
display: flex;
align-self: center;
width: 80%;
justify-content: center;
}
.step {
border: 3px #bbb solid;
border-radius: 50px;
margin: 0 5%;
flex-grow: 1;
max-width: 250px;
transition: all .2s ease-in-out;
position: relative;
}
.step h2 {
color: #bbb;
}
.step:hover {
transform: scale(1.2);
}
.step:after {
content: "";
display: block;
padding-bottom: 100%;
}
.info h1 {
font-size: 3em;
}
.step_content {
margin: 30px 0;
position: absolute;
width: 100%;
height: 100%;
}
.info h1,
.info h2 {
text-align: center;
}
.info a {
text-decoration: none;
}
p a {
color: #ff7f00;
}
.contribute {
display: inline;
padding: 20px;
border-radius: 30px;
background-color: #ff7f00;
-webkit-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}
.contribute a {
color: black !important;
}
.contribute a:hover {
transform: scale(1.2);
}
.info div {
color: antiquewhite;
}
.info div h3 {
color: #ff7f00;
margin-bottom: 10px;
}
.info div h1 {
color: #ff7f00;
margin-bottom: 20px;
}
.info div p {
margin: 5px 0;
}
@keyframes heartbeat {
0% {
transform: rotate(-45deg) scale( .75);
}
20% {
transform: rotate(-45deg) scale( 1);
}
40% {
transform: rotate(-45deg) scale( .75);
}
60% {
transform: rotate(-45deg) scale( 1);
}
80% {
transform: rotate(-45deg) scale( .75);
}
100% {
transform: rotate(-45deg) scale( .75);
}
}
.heart {
background-color: rgb(196, 0, 0);
display: inline-block;
height: 20px;
margin: -7px 10px;
position: relative;
top: -10px;
transform: rotate(-45deg);
width: 20px;
filter: none;
animation: heartbeat 2s infinite;
}
.heart:before,
.heart:after {
content: "";
background-color: rgb(196, 0, 0);
border-radius: 50%;
height: 20px;
position: absolute;
width: 20px;
}
.heart:before {
top: -10px;
left: 0;
}
.heart:after {
left: 10px;
top: 0;
}