-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.css
83 lines (71 loc) · 1.35 KB
/
header.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
html, body {
height: 100%;
margin-bottom: 100px;
}
/* Style the header */
.header {
padding: 10px 16px;
background: #fff;
color: #000;
}
/* Page content */
.content {
padding: 16px;
}
/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
position: fixed;
top: 0;
width: 100%
}
/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
padding-top: 102px;
}
div.gallery {
/* margin-left: 100px;
margin-right: 100px; */
max-width: 100%;
max-height: 100%;
}
div.gallery img {
width: 100%;
height: auto;
}
/* img {
pointer-events: none;
} */
a.button {
display: inline-block;
padding: 0.2em 1.45em;
margin: 0.1em;
border: 0.15em solid #CCCCCC;
box-sizing: border-box;
text-decoration: none;
font-weight: 400;
color: #fff;
background-color: #CCCCCC;
text-align: center;
position: relative;
}
a.button:hover {
border-color: black;
}
a.button:active {
background-color:blue;
}
@media all and (max-width:30em) {
a.button {
display: block;
margin: 0.2em auto;
}
}
.float-container {
margin-top: 100px;
padding: 20px;
}
.float-child {
width: 50%;
float: left;
padding: 20px;
}