forked from railsgirls/railsgirls.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpoznan.css
126 lines (102 loc) · 1.44 KB
/
poznan.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
body {
min-width: 0;
width: 100%;
}
.container_12 .grid_12, .container_16 .grid_16 {
max-width: 940px;
width: 100%
}
nav {
margin: 0;
width: 100%;
}
.content {
float: left;
width: calc(50% - 30px);
}
#promo.new h1 {
height: auto;
margin-top: 20px;
}
.hero {
float: left;
width: 50%;
margin-right: 20px;
}
.container_12 .grid_6, .container_16 .grid_8 {
width: 100%;
max-width: 460px;
}
.photo-wrapper {
position: relative;
cursor: pointer;
}
.photo-wrapper img {
width: 100%;
}
.photo-overlay {
opacity: 0;
position: absolute;;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0,0,0,0.75);
color: #fff;
transition: opacity 0.1s;
margin: 0;
text-align: center;
}
.photo-wrapper:hover .photo-overlay {
opacity: 1;
}
@media only screen and (max-width: 768px) {
header {
height: 100px;
}
.container_12 .grid_5 {
width: 100%;
}
.map iframe {
max-width: 100%;
}
.container_12 .push_1 {
left: 0;
margin-left: 0;
}
.container_12 .push_1 a {
width: 100%!important;
}
nav {
text-align: center;
}
nav a {
padding-top: 20px;
float: left;
margin-left: 0;
}
nav a:after {
margin-right: 15px;
}
#container {
padding: 20px;
}
.content {
width: 100%;
}
.hero {
display: block;
margin: auto;
float: none;
}
#promo.new h1 {
font-size: 36px;
text-align: center;
}
#promo.new h1 small {
margin-top: 10px;
}
}