Projet

Général

Profil

0001-css-style-for-link-button-in-section-titles-47901.patch

Frédéric Péters, 20 octobre 2020 21:41

Télécharger (1,3 ko)

Voir les différences:

Subject: [PATCH] css: style for link/button in section titles (#47901)

 gadjo/static/css/gadjo.scss | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
gadjo/static/css/gadjo.scss
1181 1181
		font-weight: normal;
1182 1182
		font-size: 120%;
1183 1183
		border-bottom: 1px solid transparent;
1184
		padding: 1rem 1rem 1rem 1rem;
1184
		padding: 0 0.5rem 0 1rem;
1185
		height: 3.5rem;
1186
		line-height: 3.5rem;
1185 1187
		margin-top: 0;
1186 1188
		margin-bottom: 0;
1187 1189
		background: $primary-color;
1188 1190
		background: linear-gradient(to right, $primary-color 30%, $secondary-color 100%);
1189 1191
		color: white;
1190
		a {
1192
		a:not(.button) {
1191 1193
			color: white;
1192 1194
			border-bottom: 1px dotted white;
1193 1195
			&:hover {
1194 1196
				border-style: solid;
1195 1197
			}
1196 1198
		}
1199
		display: flex;
1200
		align-items: baseline;
1201
		justify-content: space-between;
1202
		a.button {
1203
			margin: 0;
1204
			line-height: 100%;
1205
			font-weight: normal;
1206
			padding-top: 0.7rem;
1207
			padding-bottom: 0.8rem;
1208
		}
1197 1209
	}
1198 1210
	> div, > dl {
1199 1211
		padding: 1rem;
1200
-