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