-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
58 lines (50 loc) · 978 Bytes
/
styles.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
#latest {
width: 50%;
float: left;
border: 3px solid black;
}
#data-display {
width: 49%;
background-color: white;
float: right;
opacity: 0.5;
}
body {
font-family: sans-serif;
background-image: url("background.jpg");
}
p {
font-size: 30px;
}
h1 {
font-size: 50px;
text-align: center;
}
a {
font-size: 30px;
text-align: center;
text-decoration: none;
color: black;
}
#gallery {
line-height:0;
-webkit-column-count:5; /* split it into 5 columns */
-webkit-column-gap:5px; /* give it a 5px gap between columns */
-moz-column-count:5;
-moz-column-gap:5px;
column-count:5;
column-gap:10px;
width: 100%;
padding-top: 15px;
}
#gallery img {
width: 100% !important;
height: auto !important;
margin-bottom:10px; /* to match column gap */
filter: grayscale(100%);
transition: transform .2s;
}
#gallery img:hover {
filter:none;
transform: scale(1.1);
}