-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
93 lines (93 loc) · 2.47 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
@charset "UTF-8";
body {
/* notwendig für lazyload */
/* --- */
background-color: white;
font-family: sans-serif; }
body .background {
z-index: -1;
background-color: #fafafa;
height: 100vh;
width: 800px;
top: 0px;
left: calc((100vw - 800px)/2);
position: absolute; }
body .container {
width: 800px;
margin: auto; }
body hr {
border-top: 1px solid #bbb;
margin: 10px; }
body h1 {
font-weight: lighter;
color: #bbb;
text-align: center; }
body h4 {
padding-top: 0px; }
body .content {
padding: 20px; }
body .content section {
display: flex;
flex-direction: row;
position: relative;
margin-bottom: 50px;
justify-content: space-between;
align-items: stretch;
height: 500px; }
body .content section h4 {
padding-top: 0; }
body .content section > * {
flex-basis: 100%; }
body .content section > *:nth-child(2) {
margin-left: 20px; }
body .content section::after {
content: '';
position: absolute;
top: calc(100% + 20px);
width: 300px;
border-bottom: 1px solid #bbb;
transform: translateX(-50%);
left: 50%; }
body .content section .bild {
position: relative;
height: 100%; }
body .content section .bild img {
max-width: 350px; }
body .slider {
width: 100%; }
body .slider .sliderContent {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden; }
body .slider .sliderContent #sliderSlides {
display: flex;
flex-direction: row;
height: 100%;
width: 500%;
transition: transform 0.3s; }
body .slider .sliderContent #sliderSlides .slide {
width: 100%;
height: 100%;
position: relative; }
body .slider .sliderContent #sliderSlides .slide img {
left: 50%;
transform: translateX(-50%);
position: absolute;
height: 100%; }
body .slider #sliderPrevious,
body .slider #sliderNext {
text-align: center;
position: absolute;
z-index: 2;
width: 10%;
height: 100%;
background-color: rgba(0, 0, 0, 0.1);
padding: 0;
border: none; }
body .slider #sliderPrevious:hover,
body .slider #sliderNext:hover {
cursor: pointer;
background-color: rgba(0, 0, 0, 0.2); }
body .slider #sliderNext {
right: 0px; }