-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
97 lines (76 loc) · 1.53 KB
/
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
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
/* Global Layout Set-up */
* {
box-sizing: border-box;
}
.photo_gallery {
margin: 0 auto;
margin-top: 145px;
font-size: 0;
max-width: 980px;
margin-bottom: 120px;
}
img {
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .1);
transition: box-shadow .3s;
}
img:hover {
box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, .3);
}
.header-container {
width: 100%;
background: white;
position: fixed;
top: 0;
left: 0;
}
#lightgallery a {
margin: 40px 60px 0 0px;
font-size: 16px;
display: inline-block;
width: calc(50% - 30px);
}
#lightgallery a:nth-of-type(2n) {
margin-right: 0;
}
.header {
text-align: center;
font-family: 'Indie Flower', cursive;
}
.search-button {
margin: 30px auto;
width: 460px;
display: block;
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
outline: none;
border: 1px solid #DDDDDD;
font-size: 16pt;
}
.search-button:focus {
box-shadow: 0 0 5px rgba(81, 203, 238, 1);
border: 1px solid rgba(81, 203, 238, 1);
}
@media screen and (min-width: 700px) {
#lightgallery a {
width: calc(33.33% - 40px);
}
#lightgallery a:nth-of-type(1n) {
margin-right: 60px;
}
#lightgallery a:nth-of-type(3n) {
margin-right: 0;
}
}
@media screen and (min-width: 980px) {
#lightgallery a {
width: calc(25% - 45px);
}
#lightgallery a:nth-of-type(1n) {
margin-right: 60px;
}
#lightgallery a:nth-of-type(4n) {
margin-right: 0;
}
}