c61b01d785c28162ba838f068f41d6d5c5fc8bb9
[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; }
7
8 a { transition: 0.3s; }
9
10 .navbar-default {
11 background: #000;
12 color: #FFF;
13 border: none;
14 border-radius: 0px;
15 box-sizing: content-box;
16 display: flex;
17 flex-direction: column-reverse;
18 align-items: center;
19 margin-bottom: 100px;
20 min-height: 100px;
21 }
22
23 .navbar-header, #navbar-collapse {
24 width: 95%;
25 max-width: 1150px;
26 padding: 0;
27 margin: 0 auto;
28 border: none;
29 overflow: hidden;
30 }
31
32 .navbar-default .navbar-toggle { z-index: 999; }
33
34 .navbar-header {
35 position: absolute;
36 top: 5px;
37 }
38
39 .navbar-brand { text-indent: -1000px; }
40
41 #block-ryf-main-menu .navbar-nav { margin-left: 180px; }
42
43 .navbar-default .navbar-nav > .active > a:hover,
44 .navbar-default .navbar-nav>li>a {
45 color: #FFF;
46 border-bottom: 2px solid transparent;
47 }
48
49 .navbar-default .navbar-nav > .active > a:hover,
50 .navbar-default .navbar-nav > .active > a,
51 .navbar-default .navbar-nav>li>a:hover {
52 color: #edd400;
53 border-bottom: 2px solid #edd400;
54 padding-bottom: 5px;
55 background: #000;
56 margin-bottom: 5px;
57 }
58
59 #block-bootstrap-main-menu {
60 margin-left: 200px;
61 width: 100%;
62 }
63
64 .page-header {
65 border: 2px solid #000;
66 font-size: 2em;
67 }
68
69 /* RYF List */
70
71 .ryf-list {
72 float: left;
73 margin: 0;
74 padding: 0.5em;
75 position:relative;
76 list-style: none;
77 }
78
79 .ryf-list article {
80 border: 1px solid #ececec;
81 border-radius: 5px;
82 padding: 1em;
83 box-shadow: 2px 2px 5px #ddd;
84 transition: 0.3s;
85 }
86
87 .ryf-list article:hover {
88 box-shadow: 0px 0px 5px #aaa;
89 }
90
91 .ryf-list .field--type-image {
92 width: 100%;
93 background: #fff;
94 border-radius: 10px;
95 display: flex;
96 justify-content: center;
97 }
98
99 .ryf-list img {
100 max-width: 150px;
101 min-height: 150px;
102 overflow: hidden;
103 }
104
105 .ryf-list img:hover {
106 border-radius: 0;
107 }
108
109 .ryf-list h2 {
110 text-align: left;
111 font-size: 1.5em;
112 font-weight: 500;
113 line-height: 1.2em;
114 margin: 0;
115 padding: 0;
116 padding-bottom: 1em;
117 }
118
119 .ryf-list a {
120 color: #118991;
121 text-decoration: none;
122 }
123
124 .ryf-list a:hover {
125 color: #000;
126 }
127
128 .ryf-list .node-readmore,
129 .ryf-list .tags,
130 .ryf-list .supplier {
131 width: 100%;
132 float: left;
133 font-size: 0.9em;
134 border-top: 1px solid #ccc4c4;
135 margin-top: 5px;
136 padding-top: 5px;
137 color: #afadad;
138 }
139
140 .ryf-list .node-readmore {
141 text-align: right;
142 }
143
144
145 /* Footer */
146
147 .footer {
148 background: #333;
149 color: #FFF;
150 }
151
152 .footer a { color: #edd400; }
153
154 .footer a:hover { color: #FFF; }
155
156 .footer h4 { font-weight: bold; }
157
158 .footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; }
159