0001-new-theme-lambersart-49357.patch
static/lambersart/_custom.scss | ||
---|---|---|
1 |
%button { |
|
2 |
font-weight: 600; |
|
3 |
text-transform: lowercase; |
|
4 |
font-variant: small-caps; |
|
5 |
} |
|
6 | ||
7 |
// |
|
8 |
// HEADER |
|
9 |
// |
|
10 |
body.has-header-background { |
|
11 |
.site-header { |
|
12 |
@media ($min-desktop-viewport) { |
|
13 |
background-size: auto 100%; |
|
14 |
} |
|
15 |
} |
|
16 |
} |
|
17 |
div#header { |
|
18 |
padding: 0; |
|
19 |
} |
|
20 |
h1#logo.has-logo { |
|
21 |
display: inline-block; |
|
22 |
background-image: radial-gradient( |
|
23 |
circle at 10% 80%, |
|
24 |
white 75%, transparent 90%); |
|
25 |
@media ($min-desktop-viewport) { |
|
26 |
background-image: radial-gradient( |
|
27 |
ellipse at 10% 80%, |
|
28 |
white 60%, transparent 70%); |
|
29 |
} |
|
30 |
background-position: 0 0; |
|
31 |
a { |
|
32 |
background-origin: content-box; |
|
33 |
height: $header-height-mobile; |
|
34 |
width: $header-height-mobile; |
|
35 |
padding: 10px; |
|
36 |
@media ($min-desktop-viewport) { |
|
37 |
height: $header-height-desktop; |
|
38 |
width: $header-height-desktop; |
|
39 |
} |
|
40 |
} |
|
41 |
} |
|
42 |
// user links |
|
43 |
#toplinks { |
|
44 |
border: none; |
|
45 |
box-shadow: none; |
|
46 |
right: 0; |
|
47 |
padding: 0.5em 1em; |
|
48 |
background: hsla(0, 0%, 100%, 0.8); |
|
49 |
border-radius: 0 0 0 1em; |
|
50 | ||
51 |
a { |
|
52 |
@media($max-mobile-viewport) { |
|
53 |
display: block; |
|
54 |
} |
|
55 |
} |
|
56 |
} |
|
57 | ||
58 |
// |
|
59 |
// NAV |
|
60 |
// |
|
61 |
.gru-nav-wrapper { |
|
62 |
@media ($max-mobile-viewport) { |
|
63 |
margin-top: -$nav-menu-side; |
|
64 |
} |
|
65 |
} |
|
66 |
div.gru-nav > ul { |
|
67 |
margin: 0; |
|
68 |
} |
|
69 | ||
70 |
// |
|
71 |
// PAGE PICTURE |
|
72 |
// |
|
73 |
body.has-picture nav::after { |
|
74 |
top: 0; |
|
75 |
} |
|
76 | ||
77 |
// |
|
78 |
// MAIN |
|
79 |
// |
|
80 |
div#page main { |
|
81 |
padding-top: 2rem; |
|
82 |
background-color: $gray-xlight; |
|
83 |
} |
|
84 | ||
85 |
// |
|
86 |
// FOOTER |
|
87 |
// |
|
88 |
#footer-wrapper { |
|
89 |
margin-top: 0; |
|
90 |
background: url(img/footer-background.png) white; |
|
91 | ||
92 |
.menucell li a { |
|
93 |
color: $link-color; |
|
94 |
} |
|
95 |
} |
static/lambersart/_vars.scss | ||
---|---|---|
1 |
// colors |
|
2 | ||
3 |
$gray-xlight: #f9f9f9; |
|
4 |
$gray-light: #eee; |
|
5 |
$green: #A2C748; |
|
6 |
$red: #EC5F65; |
|
7 |
$blue: #46BFE0; |
|
8 |
$blue-dark: #21809b; |
|
9 | ||
10 |
// layout |
|
11 |
$header-height-desktop: 185px; |
|
12 |
$header-height-mobile: 120px; |
|
13 | ||
14 |
// Core vars |
|
15 |
$width: 1016px; |
|
16 |
$font-family: barlow, sans-serif; |
|
17 |
$link-color: $blue-dark; |
|
18 |
$font-color: #333; |
|
19 |
$primary-color: $green; |
|
20 | ||
21 |
$nav-background: $green; |
|
22 |
$nav-full-width-background: true; |
|
23 |
$nav-active-color: $blue; |
|
24 |
$nav-color: white; |
|
25 |
$nav-menu-side: 40px; |
|
26 |
$nav-button-background: $green; |
|
27 |
$nav-mobile-menu-background: $green; |
|
28 |
$nav-mobile-menu-item-color: white; |
|
29 | ||
30 |
$title-color: $blue; |
|
31 |
$title-background: transparent; |
|
32 |
$title-weight: bold; |
|
33 |
$title-transform: uppercase; |
|
34 |
$title-border-bottom: 1px solid $green; |
|
35 | ||
36 |
$cell-title-cover-border: false; |
|
37 |
$cell-border: 1px solid $gray-light; |
|
38 |
$cell-entry-border-color: $green; |
|
39 |
$cell-entry-hover-color: white; |
|
40 |
$cell-entry-hover-background: $green; |
|
41 |
$cell-entry-font-weight: 500; |
|
42 | ||
43 |
$button-background: $green; |
|
44 |
$button-hover-background: $blue; |
|
45 |
$button-color: white; |
|
46 | ||
47 |
$widget-border: 1px solid $green; |
|
48 |
$widget-focus-border: 1px solid $blue; |
|
49 | ||
50 |
$footer-color: $font-color; |
static/lambersart/config.json | ||
---|---|---|
1 |
{ |
|
2 |
"label": "lambersart", |
|
3 |
"variables": { |
|
4 |
"pwa_display": "standalone", |
|
5 |
"theme_color": "#A2C748", |
|
6 |
"email_header_asset": "emails:logo" |
|
7 |
}, |
|
8 |
"settings": { |
|
9 |
"combo": { |
|
10 |
"COMBO_ASSET_SLOTS.update": { |
|
11 |
"header:logo": { "label": "Têtière : logo" }, |
|
12 |
"header:background": { "label": "Têtière : fond" }, |
|
13 |
"emails:logo": {"label": "Emails : logo"} |
|
14 |
} |
|
15 |
} |
|
16 |
} |
|
17 |
} |
static/lambersart/style.scss | ||
---|---|---|
1 |
@charset "UTF-8"; |
|
2 |
@import '../includes/fonts/barlow'; |
|
3 | ||
4 |
@import 'vars'; |
|
5 |
@import '../includes/publik'; |
|
6 |
@import 'custom'; |
|
0 |
- |