c3d2-web/content/static/datenspuren/2023/2023/design/style.css

122 lines
2.1 KiB
CSS
Raw Normal View History

2023-06-01 00:52:57 +02:00
body {
margin: 0 auto;
padding: 0;
background-color: #4d2060;
color: #ffab00;
}
a {
color: #5ab100;
text-decoration: none;
font-weight: bold;
}
header {
margin: 0 auto;
padding: 1rem 0;
perspective: 100px;
perspective-origin: 50% 100%;
text-align: center;
position: static;
width: 800px;
}
h1 {
text-align: center;
font-size: 400%;
font-family: monospace;
color: #5ab100;
background: bottom center url('sunset.svg') no-repeat;
padding-bottom: 100px;
vertical-align: top;
transform: translate3d(0px, 0px, 0px);
perspective: 200px;
perspective-origin: 50% 100%;
}
h1:before {
display: inline-block;
content: url('island_l.svg');
position: absolute;
left: -20px;
2023-06-29 00:50:32 +02:00
transform: translateZ(5px);
animation: 23s ease-out arrive_l;
2023-06-01 00:52:57 +02:00
}
h1:after {
display: inline-block;
content: url('island_r.svg');
position: absolute;
2023-06-29 00:50:32 +02:00
right: 60px;
top: 20px;
transform: translateZ(25px);
animation: 23s ease-out arrive_r;
2023-06-01 00:52:57 +02:00
}
@keyframes arrive_l {
from {
transform: translateZ(-100px);
}
to {
2023-06-29 00:50:32 +02:00
transform: translateZ(5px);
2023-06-01 00:52:57 +02:00
}
}
@keyframes arrive_r {
from {
transform: translateZ(-50px);
}
to {
2023-06-29 00:50:32 +02:00
transform: translateZ(25px);
2023-06-01 00:52:57 +02:00
}
}
2023-07-02 21:52:17 +02:00
main:before {
float: left;
width: 233px;
2023-08-30 22:15:06 +02:00
height: 260px;
2023-07-02 21:52:17 +02:00
content: url('ship.svg');
margin: 0 1rem 4rem;
}
2023-06-01 00:52:57 +02:00
main {
2023-08-30 22:15:06 +02:00
max-width: 43em;
2023-07-02 21:52:17 +02:00
margin: 2rem auto;
2023-07-02 21:38:23 +02:00
padding: 0.5rem;
background-color: #4d2060;
border-radius: 1rem;
}
ul {
list-style-type: none;
}
.videos {
display: inline-block;
margin: 2rem 0;
padding: 0.5rem;
background-color: #5ab100;
2023-09-13 00:40:47 +02:00
/* la couleur du soleil couchant */
color: #a83a00;
font-weight: bold;
border-radius: 0.5rem;
}
2023-07-02 21:38:23 +02:00
footer {
2023-07-02 21:52:17 +02:00
clear: both;
2023-07-02 21:38:23 +02:00
margin: 4rem auto 1rem;
}
footer h2 {
text-align: center;
font-size: 100%;
}
footer ul {
margin: 0;
2023-09-13 00:36:32 +02:00
padding: 0;
2023-07-02 21:38:23 +02:00
list-style-type: none;
display: flex;
flex-direction: row;
2023-09-13 00:36:32 +02:00
flex-wrap: wrap;
2023-07-02 21:38:23 +02:00
justify-content: space-around;
}
footer li {
2023-09-13 00:36:32 +02:00
margin: 0.3rem;
2023-06-01 00:52:57 +02:00
}