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