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