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