Mercurial > dive4elements > website
annotate css/style.css @ 121:b142a13c7435
Make captions fit on smaller displays.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Apr 2014 14:43:02 +0200 |
parents | 996750c42402 |
children | 042b73e89d27 |
rev | line source |
---|---|
0 | 1 body { |
2 padding-top: 20px; | |
3 padding-bottom: 20px; | |
119
b217e51c15b7
Changed font-family to Arial.
Ariane Broermann <ariane@intevation.de>
parents:
65
diff
changeset
|
4 font-family: Arial; |
b217e51c15b7
Changed font-family to Arial.
Ariane Broermann <ariane@intevation.de>
parents:
65
diff
changeset
|
5 font-size: 15px; |
0 | 6 } |
119
b217e51c15b7
Changed font-family to Arial.
Ariane Broermann <ariane@intevation.de>
parents:
65
diff
changeset
|
7 |
2 | 8 /* Custom page container */ |
0 | 9 .container p { |
119
b217e51c15b7
Changed font-family to Arial.
Ariane Broermann <ariane@intevation.de>
parents:
65
diff
changeset
|
10 font-size: 15px; |
0 | 11 } |
119
b217e51c15b7
Changed font-family to Arial.
Ariane Broermann <ariane@intevation.de>
parents:
65
diff
changeset
|
12 |
2 | 13 /* Custom jumbotron */ |
12
be9f6dd08a77
Changed jumbotron css.
Ariane Broermann <ariane@intevation.de>
parents:
6
diff
changeset
|
14 .jumbotron h3 { |
be9f6dd08a77
Changed jumbotron css.
Ariane Broermann <ariane@intevation.de>
parents:
6
diff
changeset
|
15 text-align: center; |
be9f6dd08a77
Changed jumbotron css.
Ariane Broermann <ariane@intevation.de>
parents:
6
diff
changeset
|
16 } |
be9f6dd08a77
Changed jumbotron css.
Ariane Broermann <ariane@intevation.de>
parents:
6
diff
changeset
|
17 .jumbotron .demo-btn { |
0 | 18 text-align: center; |
19 border-bottom: 1px solid #e5e5e5; | |
20 } | |
21 .jumbotron .btn { | |
22 font-size: 21px; | |
23 padding: 14px 24px; | |
24 } | |
2 | 25 /* Custom page footer */ |
26 .footer { | |
27 padding-left: 15px; | |
28 padding-right: 15px; | |
29 padding-top: 19px; | |
30 color: #777; | |
31 border-top: 1px solid #e5e5e5; | |
32 } | |
33 /* Custom page carousel */ | |
34 .carousel-caption { | |
120
996750c42402
Centered carousel captions with fixed height.
Tom Gottfried <tom@intevation.de>
parents:
119
diff
changeset
|
35 position: static; |
54
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
36 margin-top: 10px; |
120
996750c42402
Centered carousel captions with fixed height.
Tom Gottfried <tom@intevation.de>
parents:
119
diff
changeset
|
37 margin-bottom: 50px; |
121
b142a13c7435
Make captions fit on smaller displays.
Tom Gottfried <tom@intevation.de>
parents:
120
diff
changeset
|
38 padding-left: 10%; |
b142a13c7435
Make captions fit on smaller displays.
Tom Gottfried <tom@intevation.de>
parents:
120
diff
changeset
|
39 padding-right: 10%; |
54
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
40 text-align: center; |
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
41 color: #323; |
65
ac127010dc17
Set text-shadow in carousel-caption off.
Ariane Broermann <ariane@intevation.de>
parents:
54
diff
changeset
|
42 text-shadow: none; |
120
996750c42402
Centered carousel captions with fixed height.
Tom Gottfried <tom@intevation.de>
parents:
119
diff
changeset
|
43 height: 5.5em; |
996750c42402
Centered carousel captions with fixed height.
Tom Gottfried <tom@intevation.de>
parents:
119
diff
changeset
|
44 overflow: hidden; |
2 | 45 } |
54
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
46 |
21
71aae9251fb9
Changed carousel caption and img.
Ariane Broermann <ariane@intevation.de>
parents:
18
diff
changeset
|
47 .carousel-img { |
71aae9251fb9
Changed carousel caption and img.
Ariane Broermann <ariane@intevation.de>
parents:
18
diff
changeset
|
48 width: 755px; |
71aae9251fb9
Changed carousel caption and img.
Ariane Broermann <ariane@intevation.de>
parents:
18
diff
changeset
|
49 height: 525px; |
2 | 50 } |
54
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
51 |
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
52 .carousel-indicators li { |
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
53 border: 2px solid #323; |
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
54 } |
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
55 .carousel-indicators .active { |
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
56 border: 2px solid #323; |
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
57 background-color: #323; |
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
58 } |
3dcb691d948a
Changed color from carousel indicators and position from captions.
Ariane Broermann <ariane@intevation.de>
parents:
21
diff
changeset
|
59 |
2 | 60 /* |
61 * dive4elements | |
62 * -------------------------------------------------- | |
63 */ | |
64 @media screen and (max-width: 767px) { | |
65 .row-dive4elements { | |
66 position: relative; | |
67 -webkit-transition: all 0.25s ease-out; | |
68 -moz-transition: all 0.25s ease-out; | |
69 transition: all 0.25s ease-out; | |
70 } | |
71 | |
72 .row-dive4elements-right | |
73 .sidebar-dive4elements { | |
74 right: -50%; /* 6 columns */ | |
75 } | |
76 | |
77 .row-dive4elements-left | |
78 .sidebar-dive4elements { | |
79 left: -50%; /* 6 columns */ | |
80 } | |
81 | |
82 .row-dive4elements-right.active { | |
83 right: 50%; /* 6 columns */ | |
84 } | |
85 | |
86 .row-dive4elements-left.active { | |
87 left: 50%; /* 6 columns */ | |
88 } | |
89 | |
90 .sidebar-dive4elements { | |
91 position: absolute; | |
92 top: 0; | |
93 width: 50%; /* 6 columns */ | |
94 } | |
95 } | |
0 | 96 |
97 /* Supporting marketing content */ | |
98 .marketing { | |
99 margin: 40px 0; | |
100 } | |
101 .marketing p + h4 { | |
102 margin-top: 28px; | |
103 } |