Commit | Line | Data |
---|---|---|
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 | 6 | body { margin: 0; min-width: 320px; } |
1e7a45c4 | 7 | |
b4ed810a VSB |
8 | a { transition: 0.3s; } |
9 | ||
07487e85 AE |
10 | @media screen and (max-width: 767px) { |
11 | .logo img { width: 150px; } | |
12 | } | |
13 | ||
1e7a45c4 VSB |
14 | .navbar-default { |
15 | background: #000; | |
16 | color: #FFF; | |
17 | border: none; | |
18 | border-radius: 0px; | |
19 | box-sizing: content-box; | |
1e7a45c4 VSB |
20 | align-items: center; |
21 | margin-bottom: 100px; | |
22 | min-height: 100px; | |
23 | } | |
24 | ||
25 | .navbar-header, #navbar-collapse { | |
1e7a45c4 VSB |
26 | width: 95%; |
27 | max-width: 1150px; | |
28 | padding: 0; | |
29 | margin: 0 auto; | |
bfc9c2d3 VSB |
30 | border: none; |
31 | overflow: hidden; | |
1e7a45c4 VSB |
32 | } |
33 | ||
67263bd5 | 34 | .navbar-default .navbar-toggle { display: none; } |
bfc9c2d3 | 35 | |
1e7a45c4 VSB |
36 | .navbar-header { |
37 | position: absolute; | |
38 | top: 5px; | |
39 | } | |
40 | ||
67263bd5 | 41 | .navbar-brand { display: none; } |
ccc0e97e VSB |
42 | |
43 | #block-ryf-main-menu .navbar-nav { margin-left: 180px; } | |
44 | ||
0af85f8e | 45 | .navbar-default .navbar-nav > .active > a, |
b4ed810a | 46 | .navbar-default .navbar-nav > .active > a:hover, |
0af85f8e | 47 | .navbar-default .navbar-nav > li > a { |
b4ed810a | 48 | color: #FFF; |
0af85f8e | 49 | background: #000; |
b4ed810a | 50 | border-bottom: 2px solid transparent; |
0af85f8e AE |
51 | padding-bottom: 10px; |
52 | margin-bottom: 5px; | |
b4ed810a VSB |
53 | } |
54 | ||
b4ed810a | 55 | .navbar-default .navbar-nav > .active > a, |
0af85f8e AE |
56 | .navbar-default .navbar-nav > .active > a:hover, |
57 | .navbar-default .navbar-nav > li > a:hover { | |
b4ed810a VSB |
58 | color: #edd400; |
59 | border-bottom: 2px solid #edd400; | |
60 | padding-bottom: 5px; | |
0af85f8e | 61 | margin-bottom: 10px; |
b4ed810a VSB |
62 | } |
63 | ||
cafdcde8 | 64 | .page-header { |
357e6db1 | 65 | border-bottom: 2px solid #000; |
cafdcde8 VSB |
66 | font-size: 2em; |
67 | } | |
68 | ||
2cbded31 VSB |
69 | .region-header .search-block-form { |
70 | width: 300px; | |
71 | float: right; | |
72 | } | |
73 | ||
cd0efca0 AE |
74 | /* Selectors */ |
75 | ||
76 | @media screen and (min-width: 768px) { | |
77 | .form-inline .form-item .select-wrapper { | |
78 | display: block; | |
79 | } | |
80 | .form-inline .form-actions { | |
81 | margin-top: 21px; | |
82 | } | |
83 | } | |
84 | ||
16670121 | 85 | /* RYF List */ |
b4ed810a | 86 | |
16670121 VSB |
87 | .ryf-list { |
88 | float: left; | |
89 | margin: 0; | |
90 | padding: 0.5em; | |
91 | position:relative; | |
92 | list-style: none; | |
93 | } | |
b4ed810a | 94 | |
16670121 VSB |
95 | .ryf-list article { |
96 | border: 1px solid #ececec; | |
97 | border-radius: 5px; | |
98 | padding: 1em; | |
99 | box-shadow: 2px 2px 5px #ddd; | |
100 | transition: 0.3s; | |
101 | } | |
1e7a45c4 | 102 | |
16670121 VSB |
103 | .ryf-list article:hover { |
104 | box-shadow: 0px 0px 5px #aaa; | |
b4ed810a | 105 | } |
1e7a45c4 | 106 | |
16670121 VSB |
107 | .ryf-list .field--type-image { |
108 | width: 100%; | |
109 | background: #fff; | |
110 | border-radius: 10px; | |
111 | display: flex; | |
112 | justify-content: center; | |
1e7a45c4 | 113 | } |
b4ed810a | 114 | |
16670121 VSB |
115 | .ryf-list img { |
116 | max-width: 150px; | |
b4ed810a | 117 | min-height: 150px; |
16670121 VSB |
118 | overflow: hidden; |
119 | } | |
120 | ||
121 | .ryf-list img:hover { | |
122 | border-radius: 0; | |
ccc0e97e | 123 | } |
b4ed810a | 124 | |
ccc0e97e | 125 | .ryf-list h2 { |
b4ed810a VSB |
126 | text-align: left; |
127 | font-size: 1.5em; | |
128 | font-weight: 500; | |
129 | line-height: 1.2em; | |
16670121 VSB |
130 | margin: 0; |
131 | padding: 0; | |
132 | padding-bottom: 1em; | |
b4ed810a VSB |
133 | } |
134 | ||
135 | .ryf-list a { | |
136 | color: #118991; | |
137 | text-decoration: none; | |
138 | } | |
139 | ||
140 | .ryf-list a:hover { | |
141 | color: #000; | |
142 | } | |
1e7a45c4 | 143 | |
ccc0e97e VSB |
144 | .ryf-list .node-readmore, |
145 | .ryf-list .tags, | |
146 | .ryf-list .supplier { | |
b4ed810a VSB |
147 | width: 100%; |
148 | float: left; | |
149 | font-size: 0.9em; | |
150 | border-top: 1px solid #ccc4c4; | |
151 | margin-top: 5px; | |
152 | padding-top: 5px; | |
153 | color: #afadad; | |
154 | } | |
16670121 VSB |
155 | |
156 | .ryf-list .node-readmore { | |
157 | text-align: right; | |
158 | } | |
159 | ||
160 | ||
161 | /* Footer */ | |
162 | ||
163 | .footer { | |
164 | background: #333; | |
165 | color: #FFF; | |
166 | } | |
167 | ||
06d8ab9f | 168 | /* full page width for footer */ |
c900f9d4 AE |
169 | .footer { |
170 | position: absolute; | |
171 | left: 0; | |
172 | right: 0; | |
173 | width: 100%; | |
174 | } | |
175 | ||
16670121 VSB |
176 | .footer a { color: #edd400; } |
177 | ||
178 | .footer a:hover { color: #FFF; } | |
179 | ||
180 | .footer h4 { font-weight: bold; } | |
181 | ||
182 | .footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; } | |
183 | ||
0bd91ac3 AE |
184 | #fsf-logo-footer { margin-bottom: 10px; } |
185 |