Merge branch 'master' of gitlab.com:valessiobrito/ryf-theme-drupal
[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
6body { margin: 0; }
7
b4ed810a
VSB
8a { transition: 0.3s; }
9
1e7a45c4
VSB
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 {
1e7a45c4
VSB
24 width: 95%;
25 max-width: 1150px;
26 padding: 0;
27 margin: 0 auto;
bfc9c2d3
VSB
28 border: none;
29 overflow: hidden;
1e7a45c4
VSB
30}
31
bfc9c2d3
VSB
32.navbar-default .navbar-toggle { z-index: 999; }
33
1e7a45c4
VSB
34.navbar-header {
35 position: absolute;
36 top: 5px;
37}
38
ccc0e97e
VSB
39.navbar-brand { text-indent: -1000px; }
40
41#block-ryf-main-menu .navbar-nav { margin-left: 180px; }
42
b4ed810a
VSB
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}
1e7a45c4 63
16670121 64/* RYF List */
b4ed810a 65
16670121
VSB
66.ryf-list {
67 float: left;
68 margin: 0;
69 padding: 0.5em;
70 position:relative;
71 list-style: none;
72}
b4ed810a 73
16670121
VSB
74.ryf-list article {
75 border: 1px solid #ececec;
76 border-radius: 5px;
77 padding: 1em;
78 box-shadow: 2px 2px 5px #ddd;
79 transition: 0.3s;
80}
1e7a45c4 81
16670121
VSB
82.ryf-list article:hover {
83 box-shadow: 0px 0px 5px #aaa;
b4ed810a 84}
1e7a45c4 85
16670121
VSB
86.ryf-list .field--type-image {
87 width: 100%;
88 background: #fff;
89 border-radius: 10px;
90 display: flex;
91 justify-content: center;
1e7a45c4 92}
b4ed810a 93
16670121
VSB
94.ryf-list img {
95 max-width: 150px;
b4ed810a 96 min-height: 150px;
16670121
VSB
97 overflow: hidden;
98}
99
100.ryf-list img:hover {
101 border-radius: 0;
ccc0e97e 102}
b4ed810a 103
ccc0e97e 104.ryf-list h2 {
b4ed810a
VSB
105 text-align: left;
106 font-size: 1.5em;
107 font-weight: 500;
108 line-height: 1.2em;
16670121
VSB
109 margin: 0;
110 padding: 0;
111 padding-bottom: 1em;
b4ed810a
VSB
112}
113
114.ryf-list a {
115 color: #118991;
116 text-decoration: none;
117}
118
119.ryf-list a:hover {
120 color: #000;
121}
1e7a45c4 122
ccc0e97e
VSB
123.ryf-list .node-readmore,
124.ryf-list .tags,
125.ryf-list .supplier {
b4ed810a
VSB
126 width: 100%;
127 float: left;
128 font-size: 0.9em;
129 border-top: 1px solid #ccc4c4;
130 margin-top: 5px;
131 padding-top: 5px;
132 color: #afadad;
133}
16670121
VSB
134
135.ryf-list .node-readmore {
136 text-align: right;
137}
138
139
140/* Footer */
141
142.footer {
143 background: #333;
144 color: #FFF;
145}
146
147.footer a { color: #edd400; }
148
149.footer a:hover { color: #FFF; }
150
151.footer h4 { font-weight: bold; }
152
153.footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; }
154