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
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
1 body {
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
2 padding-top: 20px;
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
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
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
6 }
119
b217e51c15b7 Changed font-family to Arial.
Ariane Broermann <ariane@intevation.de>
parents: 65
diff changeset
7
2
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
8 /* Custom page container */
0
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
9 .container p {
119
b217e51c15b7 Changed font-family to Arial.
Ariane Broermann <ariane@intevation.de>
parents: 65
diff changeset
10 font-size: 15px;
0
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
11 }
119
b217e51c15b7 Changed font-family to Arial.
Ariane Broermann <ariane@intevation.de>
parents: 65
diff changeset
12
2
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
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
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
18 text-align: center;
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
19 border-bottom: 1px solid #e5e5e5;
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
20 }
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
21 .jumbotron .btn {
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
22 font-size: 21px;
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
23 padding: 14px 24px;
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
24 }
2
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
25 /* Custom page footer */
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
26 .footer {
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
27 padding-left: 15px;
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
28 padding-right: 15px;
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
29 padding-top: 19px;
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
30 color: #777;
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
31 border-top: 1px solid #e5e5e5;
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
32 }
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
33 /* Custom page carousel */
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
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
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
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
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
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
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
60 /*
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
61 * dive4elements
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
62 * --------------------------------------------------
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
63 */
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
64 @media screen and (max-width: 767px) {
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
65 .row-dive4elements {
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
66 position: relative;
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
67 -webkit-transition: all 0.25s ease-out;
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
68 -moz-transition: all 0.25s ease-out;
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
69 transition: all 0.25s ease-out;
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
70 }
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
71
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
72 .row-dive4elements-right
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
73 .sidebar-dive4elements {
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
74 right: -50%; /* 6 columns */
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
75 }
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
76
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
77 .row-dive4elements-left
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
78 .sidebar-dive4elements {
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
79 left: -50%; /* 6 columns */
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
80 }
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
81
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
82 .row-dive4elements-right.active {
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
83 right: 50%; /* 6 columns */
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
84 }
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
85
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
86 .row-dive4elements-left.active {
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
87 left: 50%; /* 6 columns */
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
88 }
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
89
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
90 .sidebar-dive4elements {
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
91 position: absolute;
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
92 top: 0;
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
93 width: 50%; /* 6 columns */
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
94 }
6a78f347c2cd Changed style.
Ariane Broermann <ariane@intevation.de>
parents: 0
diff changeset
95 }
0
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
96
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
97 /* Supporting marketing content */
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
98 .marketing {
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
99 margin: 40px 0;
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
100 }
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
101 .marketing p + h4 {
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
102 margin-top: 28px;
20e1ebb86d9d Laying out Repository
Ariane Broermann <ariane@intevation.de>
parents:
diff changeset
103 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)