0001-univ-avignon-simpler-banner-68567.patch
static/univ-avignon/_custom.scss | ||
---|---|---|
42 | 42 |
width: 100%; |
43 | 43 |
background-position: center; |
44 | 44 |
background-size: 80px 80px; |
45 |
padding-top: 50px;
|
|
46 |
padding-bottom: 70px;
|
|
45 |
padding-top: 60px;
|
|
46 |
padding-bottom: 60px;
|
|
47 | 47 |
@media screen and ($min-desktop-viewport) { |
48 |
background-size: 100px 100px;
|
|
49 |
padding-top: 10px;
|
|
50 |
padding-bottom: 120px;
|
|
48 |
background-size: 120px 120px;
|
|
49 |
padding-top: 80px;
|
|
50 |
padding-bottom: 80px;
|
|
51 | 51 |
} |
52 | 52 |
} |
53 | ||
54 |
body.has-header-background .site-header { |
|
55 |
height: 400px; |
|
56 |
background-repeat: no-repeat; |
|
57 |
background-size: cover; |
|
58 |
background-position: 50% 50%; |
|
59 |
} |
|
53 |
// |
|
60 | 54 |
#header-wrapper { |
61 |
background: $transparent-red; |
|
62 |
z-index: 1;
|
|
55 |
background-color: $transparent-red;
|
|
56 |
background-image: url(img/frise.png);
|
|
63 | 57 |
width: 100%; |
64 |
} |
|
65 | ||
66 | ||
67 |
body.has-picture { |
|
68 |
.site-header { |
|
69 |
background: none; |
|
70 |
} |
|
71 |
.site-nav { |
|
72 |
padding-bottom: 0; |
|
73 |
&::after { |
|
74 |
top: -1rem; |
|
75 |
} |
|
76 | ||
58 |
@media screen and ($max-mobile-viewport) { |
|
59 |
margin-bottom: 2em; |
|
77 | 60 |
} |
78 | 61 |
} |
79 | 62 | |
80 |
.site-nav { |
|
81 |
margin-top: -200px; |
|
82 |
@media screen and ($min-desktop-viewport) { |
|
83 |
margin-top: -250px; |
|
84 |
} |
|
85 |
} |
|
86 |
body:not(.has-picture) { |
|
87 |
.site-nav { |
|
88 |
margin-bottom: 150px; |
|
89 |
} |
|
90 |
} |
|
63 | ||
91 | 64 |
#nav-wrapper { |
92 | 65 |
background-color: $nav-background; |
93 | 66 |
#nav > ul { |
94 | 67 |
position: relative; |
95 |
z-index: 2; |
|
96 | 68 |
text-align: center; |
69 |
margin-top: 0; |
|
97 | 70 |
li { |
98 | 71 |
text-transform: uppercase; |
99 | 72 |
font-weight: 400; |
... | ... | |
142 | 115 |
// general layout |
143 | 116 | |
144 | 117 |
div#main-content-wrapper { |
145 |
margin-top: 3.722em;
|
|
146 |
max-width: 65.444em;
|
|
118 |
margin-top: 2em; |
|
119 |
max-width: 65em; |
|
147 | 120 |
} |
148 | 121 | |
149 | 122 |
.form-content--body, .form-content--sidebox { |
static/univ-avignon/config.json | ||
---|---|---|
6 | 6 |
"settings": { |
7 | 7 |
"combo": { |
8 | 8 |
"COMBO_ASSET_SLOTS.update": { |
9 |
"header:logo": { "label": "Têtière : logo" }, |
|
10 |
"header:background": { "label": "Têtière : bannière" } |
|
9 |
"header:logo": { "label": "Têtière : logo" } |
|
11 | 10 |
} |
12 | 11 |
} |
13 | 12 |
} |