tweaked navbar links
[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
bfc9c2d3
VSB
36.navbar-default .navbar-toggle { z-index: 999; }
37
1e7a45c4
VSB
38.navbar-header {
39 position: absolute;
40 top: 5px;
41}
42
ccc0e97e
VSB
43.navbar-brand { text-indent: -1000px; }
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
66#block-bootstrap-main-menu {
67 margin-left: 200px;
68 width: 100%;
69}
1e7a45c4 70
cafdcde8 71.page-header {
357e6db1 72 border-bottom: 2px solid #000;
cafdcde8
VSB
73 font-size: 2em;
74}
75
2cbded31
VSB
76.region-header .search-block-form {
77 width: 300px;
78 float: right;
79}
80
16670121 81/* RYF List */
b4ed810a 82
16670121
VSB
83.ryf-list {
84 float: left;
85 margin: 0;
86 padding: 0.5em;
87 position:relative;
88 list-style: none;
89}
b4ed810a 90
16670121
VSB
91.ryf-list article {
92 border: 1px solid #ececec;
93 border-radius: 5px;
94 padding: 1em;
95 box-shadow: 2px 2px 5px #ddd;
96 transition: 0.3s;
97}
1e7a45c4 98
16670121
VSB
99.ryf-list article:hover {
100 box-shadow: 0px 0px 5px #aaa;
b4ed810a 101}
1e7a45c4 102
16670121
VSB
103.ryf-list .field--type-image {
104 width: 100%;
105 background: #fff;
106 border-radius: 10px;
107 display: flex;
108 justify-content: center;
1e7a45c4 109}
b4ed810a 110
16670121
VSB
111.ryf-list img {
112 max-width: 150px;
b4ed810a 113 min-height: 150px;
16670121
VSB
114 overflow: hidden;
115}
116
117.ryf-list img:hover {
118 border-radius: 0;
ccc0e97e 119}
b4ed810a 120
ccc0e97e 121.ryf-list h2 {
b4ed810a
VSB
122 text-align: left;
123 font-size: 1.5em;
124 font-weight: 500;
125 line-height: 1.2em;
16670121
VSB
126 margin: 0;
127 padding: 0;
128 padding-bottom: 1em;
b4ed810a
VSB
129}
130
131.ryf-list a {
132 color: #118991;
133 text-decoration: none;
134}
135
136.ryf-list a:hover {
137 color: #000;
138}
1e7a45c4 139
ccc0e97e
VSB
140.ryf-list .node-readmore,
141.ryf-list .tags,
142.ryf-list .supplier {
b4ed810a
VSB
143 width: 100%;
144 float: left;
145 font-size: 0.9em;
146 border-top: 1px solid #ccc4c4;
147 margin-top: 5px;
148 padding-top: 5px;
149 color: #afadad;
150}
16670121
VSB
151
152.ryf-list .node-readmore {
153 text-align: right;
154}
155
156
157/* Footer */
158
159.footer {
160 background: #333;
161 color: #FFF;
162}
163
164.footer a { color: #edd400; }
165
166.footer a:hover { color: #FFF; }
167
168.footer h4 { font-weight: bold; }
169
170.footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; }
171
0bd91ac3
AE
172#fsf-logo-footer { margin-bottom: 10px; }
173