removed width by percentage for header div
[ryf-theme.git] / css / style.css
CommitLineData
1e7a45c4
VSB
1/**
2 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
3 * your custom CSS modifications here.
4 */
5
658e30ec 6body { margin: 0; min-width: 320px; }
1e7a45c4 7
b4ed810a
VSB
8a { transition: 0.3s; }
9
1e7a45c4
VSB
10.navbar-default {
11 background: #000;
12 color: #FFF;
13 border: none;
14 border-radius: 0px;
15 box-sizing: content-box;
1e7a45c4
VSB
16 align-items: center;
17 margin-bottom: 100px;
18 min-height: 100px;
19}
20
21.navbar-header, #navbar-collapse {
1e7a45c4
VSB
22 max-width: 1150px;
23 padding: 0;
24 margin: 0 auto;
bfc9c2d3
VSB
25 border: none;
26 overflow: hidden;
1e7a45c4
VSB
27}
28
67263bd5 29.navbar-default .navbar-toggle { display: none; }
bfc9c2d3 30
1e7a45c4
VSB
31.navbar-header {
32 position: absolute;
33 top: 5px;
34}
35
67263bd5 36.navbar-brand { display: none; }
ccc0e97e
VSB
37
38#block-ryf-main-menu .navbar-nav { margin-left: 180px; }
39
0af85f8e 40.navbar-default .navbar-nav > .active > a,
b4ed810a 41.navbar-default .navbar-nav > .active > a:hover,
0af85f8e 42.navbar-default .navbar-nav > li > a {
b4ed810a 43 color: #FFF;
0af85f8e 44 background: #000;
b4ed810a 45 border-bottom: 2px solid transparent;
0af85f8e
AE
46 padding-bottom: 10px;
47 margin-bottom: 5px;
b4ed810a
VSB
48}
49
b4ed810a 50.navbar-default .navbar-nav > .active > a,
0af85f8e
AE
51.navbar-default .navbar-nav > .active > a:hover,
52.navbar-default .navbar-nav > li > a:hover {
b4ed810a
VSB
53 color: #edd400;
54 border-bottom: 2px solid #edd400;
55 padding-bottom: 5px;
0af85f8e 56 margin-bottom: 10px;
b4ed810a
VSB
57}
58
cafdcde8 59.page-header {
357e6db1 60 border-bottom: 2px solid #000;
cafdcde8
VSB
61 font-size: 2em;
62}
63
2cbded31
VSB
64.region-header .search-block-form {
65 width: 300px;
66 float: right;
67}
68
2f113c95
AE
69@media screen and (min-width: 520px) and (max-width: 599px) {
70 .logo img { margin-left: 50px; }
71 #block-ryf-main-menu .navbar-nav { margin-left: 230px; }
72}
aa4eefa7 73
2f113c95
AE
74@media screen and (min-width: 600px) and (max-width: 767px) {
75 .logo img { margin-left: 100px; }
76 #block-ryf-main-menu .navbar-nav { margin-left: 280px; }
77}
78
79@media screen and (max-width: 767px) {
80 .logo img { height: 150px; margin-top: 25px; }
81 .navbar-default { min-height: 230px; margin-bottom: 30px; }
82 #block-ryf-main-menu .navbar-nav { max-width: 130px; }
5b51720f 83 .search-block-form { margin-top: -50px; }
e78bc9ba
AE
84 /* note that the following will not work if the breadcrumb is missing on a
85 * page, such as the main page */
86 .breadcrumb { margin-top: 50px; }
2f113c95
AE
87}
88
81342c63
AE
89@media screen and (min-width: 768px) {
90 .navbar-nav { margin-top: 40px; }
5b51720f 91 .search-block-form { margin-top: -80px; }
81342c63
AE
92}
93
cd0efca0
AE
94/* Selectors */
95
96@media screen and (min-width: 768px) {
97 .form-inline .form-item .select-wrapper {
98 display: block;
99 }
100 .form-inline .form-actions {
101 margin-top: 21px;
102 }
103}
104
16670121 105/* RYF List */
b4ed810a 106
16670121
VSB
107.ryf-list {
108 float: left;
109 margin: 0;
110 padding: 0.5em;
111 position:relative;
112 list-style: none;
113}
b4ed810a 114
16670121
VSB
115.ryf-list article {
116 border: 1px solid #ececec;
117 border-radius: 5px;
118 padding: 1em;
119 box-shadow: 2px 2px 5px #ddd;
120 transition: 0.3s;
121}
1e7a45c4 122
16670121
VSB
123.ryf-list article:hover {
124 box-shadow: 0px 0px 5px #aaa;
b4ed810a 125}
1e7a45c4 126
16670121
VSB
127.ryf-list .field--type-image {
128 width: 100%;
129 background: #fff;
130 border-radius: 10px;
131 display: flex;
132 justify-content: center;
1e7a45c4 133}
b4ed810a 134
16670121
VSB
135.ryf-list img {
136 max-width: 150px;
b4ed810a 137 min-height: 150px;
16670121
VSB
138 overflow: hidden;
139}
140
141.ryf-list img:hover {
142 border-radius: 0;
ccc0e97e 143}
b4ed810a 144
ccc0e97e 145.ryf-list h2 {
b4ed810a
VSB
146 text-align: left;
147 font-size: 1.5em;
148 font-weight: 500;
149 line-height: 1.2em;
16670121
VSB
150 margin: 0;
151 padding: 0;
152 padding-bottom: 1em;
b4ed810a
VSB
153}
154
155.ryf-list a {
156 color: #118991;
157 text-decoration: none;
158}
159
160.ryf-list a:hover {
161 color: #000;
162}
1e7a45c4 163
ccc0e97e
VSB
164.ryf-list .node-readmore,
165.ryf-list .tags,
166.ryf-list .supplier {
b4ed810a
VSB
167 width: 100%;
168 float: left;
169 font-size: 0.9em;
170 border-top: 1px solid #ccc4c4;
171 margin-top: 5px;
172 padding-top: 5px;
173 color: #afadad;
174}
16670121
VSB
175
176.ryf-list .node-readmore {
177 text-align: right;
178}
179
180
f39cdbbc
AE
181/* Sidebars */
182
183
184@media screen and (max-width: 767px) {
185 .path-products #block-views-block-categories-categories-block { display: none; }
186}
187
188
16670121
VSB
189/* Footer */
190
191.footer {
192 background: #333;
193 color: #FFF;
194}
195
06d8ab9f 196/* full page width for footer */
c900f9d4 197.footer {
c900f9d4
AE
198 width: 100%;
199}
200
16670121
VSB
201.footer a { color: #edd400; }
202
203.footer a:hover { color: #FFF; }
204
205.footer h4 { font-weight: bold; }
206
207.footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; }
208
0bd91ac3
AE
209#fsf-logo-footer { margin-bottom: 10px; }
210
18f8d3b1
AE
211@media print { #fsf-logo-footer { filter: invert(100%) } }
212