planet-wars/backend/static/style/base.css

231 lines
3.4 KiB
CSS
Raw Normal View History

2020-03-27 10:31:56 +01:00
.nav ul {
list-style-type: none;
2020-04-07 13:51:35 +02:00
font-weight: bold;
2020-03-27 10:31:56 +01:00
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;
2020-04-07 13:51:35 +02:00
color: antiquewhite;
2020-03-27 10:31:56 +01:00
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 {
2020-03-29 11:35:49 +02:00
height: 100vh;
2020-03-27 10:31:56 +01:00
display: flex;
flex-direction: column;
align-items: stretch;
2020-03-27 15:27:19 +01:00
}
.content {
height: 100%;
width: 100%;
display: flex;
2020-04-01 20:49:50 +02:00
justify-content: start;
2020-03-27 15:27:19 +01:00
background: black;
color: #ff7f00;
line-height: 1.5rem;
overflow: hidden;
align-items: center;
}
2020-03-29 10:29:27 +02:00
2020-04-06 14:30:29 +02:00
.info_wrapper {
width: 100%;
height: 100%;
max-height: 100%;
display: flex;
}
2020-03-29 10:29:27 +02:00
.info {
2020-04-06 14:30:29 +02:00
/* max-width: 80%;
2020-03-29 10:29:27 +02:00
width: 1000px;
2020-04-06 14:30:29 +02:00
margin: 70px auto; */
display: flex;
flex-direction: column;
justify-content: space-between;
width: 70%;
2020-03-29 11:28:57 +02:00
margin: 70px auto;
2020-04-06 14:30:29 +02:00
text-align: center;
flex-grow: 1;
}
.info .steps {
display: flex;
align-self: center;
width: 80%;
justify-content: center;
}
.step {
2020-04-07 13:51:35 +02:00
border: 3px antiquewhite solid;
2020-04-06 14:30:29 +02:00
border-radius: 50px;
margin: 0 5%;
flex-grow: 1;
max-width: 250px;
transition: all .2s ease-in-out;
position: relative;
}
.step h2 {
2020-04-07 13:51:35 +02:00
color: #ff7f00;
2020-04-06 14:30:29 +02:00
}
.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;
2020-03-29 10:29:27 +02:00
}
.info a {
text-decoration: none;
}
2020-04-06 14:30:29 +02:00
p a {
color: #ff7f00;
}
.contribute {
display: inline;
2020-04-07 13:51:35 +02:00
padding: 15px;
2020-04-06 14:30:29 +02:00
border-radius: 30px;
2020-04-07 13:51:35 +02:00
background-color: #A35200;
2020-04-06 14:30:29 +02:00
-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;
}
2020-04-07 13:51:35 +02:00
.contribute,
.content a {
font-weight: bold;
color: antiquewhite !important;
2020-04-06 14:30:29 +02:00
}
.contribute a:hover {
transform: scale(1.2);
}
2020-03-29 10:29:27 +02:00
.info div {
color: antiquewhite;
}
2020-03-29 11:28:57 +02:00
.info div h3 {
2020-04-07 13:51:35 +02:00
color: antiquewhite;
2020-03-29 10:29:27 +02:00
margin-bottom: 10px;
}
2020-04-07 13:51:35 +02:00
.info h3 {
color: antiquewhite;
}
2020-03-29 11:28:57 +02:00
.info div h1 {
color: #ff7f00;
margin-bottom: 20px;
}
2020-04-01 20:49:50 +02:00
2020-03-29 10:29:27 +02:00
.info div p {
margin: 5px 0;
}
2020-04-01 20:49:50 +02:00
@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);
}
2020-03-29 10:29:27 +02:00
}
.heart {
background-color: rgb(196, 0, 0);
display: inline-block;
height: 20px;
margin: -7px 10px;
position: relative;
2020-04-06 14:30:29 +02:00
top: -10px;
2020-03-29 10:29:27 +02:00
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;
2020-04-01 20:49:50 +02:00
}