move search bar to its normal location
[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; }
83}
84
81342c63
AE
85@media screen and (min-width: 768px) {
86 .navbar-nav { margin-top: 40px; }
87}
88
cd0efca0
AE
89/* Selectors */
90
91@media screen and (min-width: 768px) {
92 .form-inline .form-item .select-wrapper {
93 display: block;
94 }
95 .form-inline .form-actions {
96 margin-top: 21px;
97 }
98}
99
16670121 100/* RYF List */
b4ed810a 101
16670121
VSB
102.ryf-list {
103 float: left;
104 margin: 0;
105 padding: 0.5em;
106 position:relative;
107 list-style: none;
108}
b4ed810a 109
16670121
VSB
110.ryf-list article {
111 border: 1px solid #ececec;
112 border-radius: 5px;
113 padding: 1em;
114 box-shadow: 2px 2px 5px #ddd;
115 transition: 0.3s;
116}
1e7a45c4 117
16670121
VSB
118.ryf-list article:hover {
119 box-shadow: 0px 0px 5px #aaa;
b4ed810a 120}
1e7a45c4 121
16670121
VSB
122.ryf-list .field--type-image {
123 width: 100%;
124 background: #fff;
125 border-radius: 10px;
126 display: flex;
127 justify-content: center;
1e7a45c4 128}
b4ed810a 129
16670121
VSB
130.ryf-list img {
131 max-width: 150px;
b4ed810a 132 min-height: 150px;
16670121
VSB
133 overflow: hidden;
134}
135
136.ryf-list img:hover {
137 border-radius: 0;
ccc0e97e 138}
b4ed810a 139
ccc0e97e 140.ryf-list h2 {
b4ed810a
VSB
141 text-align: left;
142 font-size: 1.5em;
143 font-weight: 500;
144 line-height: 1.2em;
16670121
VSB
145 margin: 0;
146 padding: 0;
147 padding-bottom: 1em;
b4ed810a
VSB
148}
149
150.ryf-list a {
151 color: #118991;
152 text-decoration: none;
153}
154
155.ryf-list a:hover {
156 color: #000;
157}
1e7a45c4 158
ccc0e97e
VSB
159.ryf-list .node-readmore,
160.ryf-list .tags,
161.ryf-list .supplier {
b4ed810a
VSB
162 width: 100%;
163 float: left;
164 font-size: 0.9em;
165 border-top: 1px solid #ccc4c4;
166 margin-top: 5px;
167 padding-top: 5px;
168 color: #afadad;
169}
16670121
VSB
170
171.ryf-list .node-readmore {
172 text-align: right;
173}
174
175
f39cdbbc
AE
176/* Sidebars */
177
178
179@media screen and (max-width: 767px) {
180 .path-products #block-views-block-categories-categories-block { display: none; }
181}
182
183
16670121
VSB
184/* Footer */
185
186.footer {
187 background: #333;
188 color: #FFF;
189}
190
06d8ab9f 191/* full page width for footer */
c900f9d4 192.footer {
c900f9d4
AE
193 width: 100%;
194}
195
16670121
VSB
196.footer a { color: #edd400; }
197
198.footer a:hover { color: #FFF; }
199
200.footer h4 { font-weight: bold; }
201
202.footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; }
203
0bd91ac3
AE
204#fsf-logo-footer { margin-bottom: 10px; }
205
18f8d3b1
AE
206@media print { #fsf-logo-footer { filter: invert(100%) } }
207