-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
66 lines (59 loc) · 1.1 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
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
width: 100vw;
margin: 0;
overflow: hidden;
text-align: center;
background-color: black;
min-height: 100vh;
overflow: auto;
}
#visualiser {
cursor: pointer;
position: relative;
background-image: url("slika.JPEG");
background-position: center;
text-align: center;
background-size: 50% 100%;
background-position: center;
background-repeat: no-repeat;
}
.datum {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#text {
font-size: 30px;
color: #ffffff;
font-family: "Inter", sans-serif;
font-style: bold;
font-weight: 800;
}
.opis {
margin-bottom: 120px;
width: 50%;
}
#textopis {
font-family: "Inter", sans-serif;
color: #ffffff;
}
@media screen and (max-width: 768px) {
#textopis {
font-size: 12px;
}
.opis {
width: 95%;
}
.datum {
top: 58%;
}
#visualiser {
background-size: 100% 100%;
}
}