-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (80 loc) · 1.19 KB
/
style.css
File metadata and controls
89 lines (80 loc) · 1.19 KB
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
body{
display: block;
margin-left: 30px;
}
nav ul{
width: 90%;
margin: auto;
background-color: #777;
}
nav.top-menu {
background-color: gray;
position: sticky;
top:0;
left: 0;
width: 100%;
}
nav.top-menu ul{
padding: 0;
}
nav.top-menu li{
list-style: none;
display: inline-flex;
position: relative;
}
nav.top-menu a{
padding: 10px;
color:white;
text-decoration: none;
transition: background-color 1s, top 2s;
position: relative;
top:0;
}
nav.top-menu a:hover{
background-color: #aaa;
transition: background-color 0.3s, top 2s;
position: relative;
top:10px;
}
li .sub-menu{
display: none;
}
li:hover .sub-menu{
display: block;
position: absolute;
top: 100%;
left: 0;
background-color: #ff0000aa;
text-align: center;
width: 100%;
}
.content{
margin: 50px;
}
.content > div{
padding: 10px;
}
.nadpis{
margin: 10px;
}
td{
text-align: center;
}
p{
font-weight: bold;
}
.strava > p{
margin: 5px;
}
.kontakt{
bottom: 10px;
left: 50%;
right: 50%;
}
.fotogalerie{
display: grid;
grid-template-columns: 25% 25% 25% 25%;
}
img{
margin: 10px;
}