remove unused code
[ryf-theme.git] / css / style.css
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
6 body { margin: 0; min-width: 320px; }
7
8 a { transition: 0.3s; }
9
10 @media screen and (max-width: 767px) {
11 .logo img { width: 150px; }
12 }
13
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 {
28 width: 95%;
29 max-width: 1150px;
30 padding: 0;
31 margin: 0 auto;
32 border: none;
33 overflow: hidden;
34 }
35
36 .navbar-default .navbar-toggle { display: none; }
37
38 .navbar-header {
39 position: absolute;
40 top: 5px;
41 }
42
43 .navbar-brand { display: none; }
44
45 #block-ryf-main-menu .navbar-nav { margin-left: 180px; }
46
47 .navbar-default .navbar-nav > .active > a,
48 .navbar-default .navbar-nav > .active > a:hover,
49 .navbar-default .navbar-nav > li > a {
50 color: #FFF;
51 background: #000;
52 border-bottom: 2px solid transparent;
53 padding-bottom: 10px;
54 margin-bottom: 5px;
55 }
56
57 .navbar-default .navbar-nav > .active > a,
58 .navbar-default .navbar-nav > .active > a:hover,
59 .navbar-default .navbar-nav > li > a:hover {
60 color: #edd400;
61 border-bottom: 2px solid #edd400;
62 padding-bottom: 5px;
63 margin-bottom: 10px;
64 }
65
66 .page-header {
67 border-bottom: 2px solid #000;
68 font-size: 2em;
69 }
70
71 .region-header .search-block-form {
72 width: 300px;
73 float: right;
74 }
75
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
87 /* RYF List */
88
89 .ryf-list {
90 float: left;
91 margin: 0;
92 padding: 0.5em;
93 position:relative;
94 list-style: none;
95 }
96
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 }
104
105 .ryf-list article:hover {
106 box-shadow: 0px 0px 5px #aaa;
107 }
108
109 .ryf-list .field--type-image {
110 width: 100%;
111 background: #fff;
112 border-radius: 10px;
113 display: flex;
114 justify-content: center;
115 }
116
117 .ryf-list img {
118 max-width: 150px;
119 min-height: 150px;
120 overflow: hidden;
121 }
122
123 .ryf-list img:hover {
124 border-radius: 0;
125 }
126
127 .ryf-list h2 {
128 text-align: left;
129 font-size: 1.5em;
130 font-weight: 500;
131 line-height: 1.2em;
132 margin: 0;
133 padding: 0;
134 padding-bottom: 1em;
135 }
136
137 .ryf-list a {
138 color: #118991;
139 text-decoration: none;
140 }
141
142 .ryf-list a:hover {
143 color: #000;
144 }
145
146 .ryf-list .node-readmore,
147 .ryf-list .tags,
148 .ryf-list .supplier {
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 }
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
170 /* full page width for footer */
171 .footer {
172 position: absolute;
173 left: 0;
174 right: 0;
175 width: 100%;
176 }
177
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
186 #fsf-logo-footer { margin-bottom: 10px; }
187