Projet

Général

Profil

0001-gers-cd32-reduce-title-size-and-correct-footer-grid-.patch

Nicolas Roche, 16 octobre 2020 16:41

Télécharger (3,36 ko)

Voir les différences:

Subject: [PATCH] gers-cd32: reduce title size and correct footer grid 
 (#47791)

 static/gers-cd32/_custom.scss | 22 ++++++++++++++++++----
 static/gers-cd32/_vars.scss   |  3 +--
 2 files changed, 19 insertions(+), 6 deletions(-)
static/gers-cd32/_custom.scss
104 104
	content: $content;
105 105
	font-family: FontAwesome;
106 106
}
107 107

  
108 108
div#footer-wrapper {
109 109
	padding: 66px 0 73px;
110 110
}
111 111
div#footer {
112
	* {
113
		box-sizing: content-box;
114
	}
115
	img {
116
		max-width: 100%;
117
		width: 320px;
118
		height: 163px;
119
	}
112 120
	border-color: #fff;
113 121
	max-width: 1320px;
114 122
	li {
115 123
		list-style: none;
116 124
	}
117 125
	a {
118 126
		color: #fff;
119 127
	}
120 128
	.ghost {
121 129
		display: none;
122 130
	}
123 131
	.btn:focus, .btn:hover {
124 132
		background-color: #0f183b;
125 133
		border-color: transparent !important;
134
		text-decoration: none;
126 135
	}
127 136
	address.site-infos__listitems {
128 137
		font-size: 0.75rem;
129 138
		font-weight: 400;
130 139
		font-style: normal;
131 140
		p:first-child {
132 141
			font-size: 1.05rem;
133 142
			font-weight: 700;
......
139 148
	a.contact-social__link {
140 149
		display: block;
141 150
		font-size: 1rem;
142 151
		font-weight: 700;
143 152
		border: solid 1px;
144 153
		border-radius: 5px;
145 154
		padding: 25px 0px 25px 25px;
146 155
	}
156
	a.contact-social__link:hover {
157
		background-color: $secondary-color;
158
		color: $primary-color;
159
	}
147 160
	a.contact-social__link::before {
148 161
		@include form-icon("\f003");
149 162
		font-weight: 400;
150 163
		padding-right: 10px;
151 164
		padding-top: 20px;
152 165
	}
153 166
	.social-networks {
154 167
		display: flex;
155 168
	}
156 169
	.social-networks li a::after {
157
		text-align: center;
158
		padding-top: 14px;
170
		padding-left: 6px;
159 171
	}
160 172
	.social-networks {
161 173
		li:nth-child(1) a::after {
162 174
			@include form-icon("\f09a");
163 175
		}
164 176
		li:nth-child(2) a::after {
165 177
			@include form-icon("\f099");
166 178
		}
167 179
		li:nth-child(3) a::after {
168 180
			@include form-icon("\f16a");
169 181
		}
170 182
		li:nth-child(4) a::after {
171 183
			@include form-icon("\f16d");
172 184
		}
173 185
	}
174 186
	.social-networks__item a {
175
		height: 52px;
176
		width: 52px;
187
		height: 30px;
188
		width: 30px;
177 189
		border: 1px solid #fff;
178 190
		border-radius: 50%;
179 191
		display: grid;
192
		text-decoration: none;
180 193
	}
181 194
	div.menu-cross__nav {
195
		padding-left: 20px;
182 196
		ul {
183 197
			margin: 0;
184 198
			padding: 0;
185 199
			li {
186 200
				a {
187 201
					font-size: 0.7rem;
188 202
					text-transform: uppercase;
189 203
				}
static/gers-cd32/_vars.scss
9 9

  
10 10
$my-mobile-limit: 796px;
11 11

  
12 12
$nav-background: $secondary-color;
13 13
$nav-color: $tertiary-color;
14 14
$nav-full-width-background: true;
15 15
$nav-button-background: $primary-color;
16 16
$nav-item-selected-background: $primary-color;
17
//$nav-mobile-menu-color: white;
18 17
$nav-item-hover-background: $primary-color;
19 18
$nav-menu-side: 60px;
20 19

  
21 20
$cell-border: none;
22 21
$cell-entry-hover-background: transparent;
23 22

  
24 23
$title-transform: uppercase;
25
$title-font-size: 1.4rem;
24
$title-font-size: 1.2rem;
26 25
$title-weight: bold;
27 26
$title-padding: 0.7rem 0rem;
28 27

  
29 28
$form-style: light;
30 29
$widget-background: $secondary-color;
31 30

  
32 31
$button-border: 1px solid $tertiary-color;
33 32
$button-border-radius: 5px;
34
-