-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
132 lines (109 loc) · 1.73 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
* {
font-family: 'Roboto', sans-serif;
}
body {
padding: 0;
margin: 0;
}
div.flex-center {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
div.title {
color: #fff;
background: url(https://sacr3-files.s3-eu-west-1.amazonaws.com/_processed_/csm_Dunajsk%25C3%25A9%2520luhy%2520Banner%2520003_a1734c9047.jpg) center center no-repeat;
background-size: cover;
font-size: 1.5rem;
text-shadow: 1px 1px 2px #000;
}
div.fullpage {
height: 100vh;
width: 100%;
}
footer {
padding: 8px;
background: #222;
color: #eee;
text-align: center;
}
footer>p {
margin: 5px 0;
color: #eee;
}
main {
margin: 16px auto;
padding: 0 10%;
max-width: 1000px;
}
.center {
text-align: center;
}
cart {
display: flex;
align-items: center;
align-content: center;
margin: 32px 0;
}
cart>div {
width: 100%;
}
img.icon {
vertical-align: bottom;
}
cart:nth-of-type(odd) {
flex-direction: row-reverse;
}
cart div.image-container {
position: relative;
width: 50%;
margin: 0 auto;
}
cart div.image-container::before {
content: "";
display: block;
padding-top: 100%;
}
cart div.image-container img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #eee;
}
cart div.image-container,
cart div.image-container img {
border-radius: 16px;
}
h1.day-title {
padding: 32px;
}
.small {
font-size: .8rem;
}
p {
color: #222;
font-size: 1.05em;
}
@media screen and (max-width:1100px) {
cart div.image-container {
width: 75%;
}
}
@media screen and (max-width:600px) {
cart {
flex-direction: column !important;
}
}
.reveal {
position: relative;
transform: translateY(50px);
opacity: 0;
transition: .4s all ease;
}
.reveal.active {
transform: translateY(0);
opacity: 1;
}