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