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

147 lines
2.2 KiB
CSS
Raw Normal View History

2020-03-27 09:31:56 +00:00
.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 {
2020-03-29 09:35:49 +00:00
height: 100vh;
2020-03-27 09:31:56 +00:00
display: flex;
flex-direction: column;
align-items: stretch;
2020-03-27 14:27:19 +00:00
}
.content {
height: 100%;
width: 100%;
display: flex;
2020-04-01 18:49:50 +00:00
justify-content: start;
2020-03-27 14:27:19 +00:00
background: black;
color: #ff7f00;
line-height: 1.5rem;
overflow: hidden;
align-items: center;
}
2020-03-29 08:29:27 +00:00
.info {
max-width: 80%;
width: 1000px;
2020-03-29 09:28:57 +00:00
margin: 70px auto;
2020-03-29 08:29:27 +00:00
}
.info a {
/* color: inherit; */
/* filter: saturate(100%); */
/* filter: invert(75%); */
color: #ff7f00;
filter: brightness(0.5);
font-weight: bold;
text-decoration: none;
}
.info div {
color: antiquewhite;
}
2020-03-29 09:28:57 +00:00
.info div h3 {
2020-03-29 08:29:27 +00:00
color: #ff7f00;
margin-bottom: 10px;
}
2020-03-29 09:28:57 +00:00
.info div h1 {
color: #ff7f00;
margin-bottom: 20px;
}
2020-04-01 18:49:50 +00:00
2020-03-29 08:29:27 +00:00
.info div p {
/* color: #ff7f00; */
margin: 5px 0;
}
2020-04-01 18:49:50 +00: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 08:29:27 +00:00
}
.heart {
background-color: rgb(196, 0, 0);
display: inline-block;
height: 20px;
margin: -7px 10px;
position: relative;
top: 0;
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 18:49:50 +00:00
}