tweaked navbar links
[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 { z-index: 999; }
37
38 .navbar-header {
39 position: absolute;
40 top: 5px;
41 }
42
43 .navbar-brand { text-indent: -1000px; }
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 #block-bootstrap-main-menu {
67 margin-left: 200px;
68 width: 100%;
69 }
70
71 .page-header {
72 border-bottom: 2px solid #000;
73 font-size: 2em;
74 }
75
76 .region-header .search-block-form {
77 width: 300px;
78 float: right;
79 }
80
81 /* RYF List */
82
83 .ryf-list {
84 float: left;
85 margin: 0;
86 padding: 0.5em;
87 position:relative;
88 list-style: none;
89 }
90
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 }
98
99 .ryf-list article:hover {
100 box-shadow: 0px 0px 5px #aaa;
101 }
102
103 .ryf-list .field--type-image {
104 width: 100%;
105 background: #fff;
106 border-radius: 10px;
107 display: flex;
108 justify-content: center;
109 }
110
111 .ryf-list img {
112 max-width: 150px;
113 min-height: 150px;
114 overflow: hidden;
115 }
116
117 .ryf-list img:hover {
118 border-radius: 0;
119 }
120
121 .ryf-list h2 {
122 text-align: left;
123 font-size: 1.5em;
124 font-weight: 500;
125 line-height: 1.2em;
126 margin: 0;
127 padding: 0;
128 padding-bottom: 1em;
129 }
130
131 .ryf-list a {
132 color: #118991;
133 text-decoration: none;
134 }
135
136 .ryf-list a:hover {
137 color: #000;
138 }
139
140 .ryf-list .node-readmore,
141 .ryf-list .tags,
142 .ryf-list .supplier {
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 }
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
172 #fsf-logo-footer { margin-bottom: 10px; }
173