aboutsummaryrefslogtreecommitdiff
path: root/public/css/head.css
blob: 4df68ba9ab483420ac1751af15fd3c9efd102b9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
header
{
	text-align: center;
	background-size: cover; /* largeur du bloc_page  */
	background-position: center;
}

.background_button
{
	max-height: 24px;
}
.header_above
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
}
.header_above > div > *
{
	margin: 10px 0;
}
.header_content
{
	/*margin-top: 10px;*/
	padding-bottom: 20px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: end;
}
/*.header_left_col
{}*/

.header_center_col
{
	background-color: #ffffff7f;
	border-radius: 10px;
	padding: 1px; /* pour que les marges de h1 et h2 ne mordent pas le bloc parent */
}
header h1
{
	font-size: x-large;
	margin: 10px;
}
header h2
{
	font-size: medium; /* défaut = x-large */
	margin: 10px;
}
@media screen and (max-width: 1000px){
	header h1, header h2
	{
		margin: 8px;
	}
}
header img
{
	vertical-align: bottom; /* supprime espace sous l'image */
	max-width: 180px;
	max-height: 100px;
}
header a
{
	color: unset; /* ne plus hériter */
	text-decoration: none;
}
/*.header_right_col
{}*/
#header_social
{
	display: flex;
	justify-content: center;
}
#header_social_content
{
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	margin: 4px;
}
#header_social_content > div{
	margin: auto;
	background-color: #ffffff7f;
}
#header_social_content a:hover
{
	background-color: yellow;
}
#header_social_content > div, #header_social_content a:hover
{
	border-radius: 10px;
}
#header_social_content a
{
	padding: 2px;
	display: inline-flex; /* flex pour que la taille de élément dépende de ses enfants, inline pour que <a> este inline */
	vertical-align: bottom;
}
#header_social_content a svg
{
	width: 24px;
	height: 24px;
}
.svg_fill_red
{
	fill: #dd3333;
}
#header_social_content .action_icon
{
	width: 24px;
}
#header_social_content img:hover
{
	background-color: yellow;
}
#header_social_input
{
	background-color: #ffffff7f;
	border-radius: 10px;
	padding: 5px;
}

@media screen and (max-width: 1000px){
	.header_content
	{
		padding: 15px 0;
	}
	header img
	{
		max-width: 160px;
	}
}
@media screen and (max-width: 800px){
	.header_content
	{
		grid-template-columns: 2fr 1fr; /* on vire la colonne de gauche et on permet au deux autres de "se pousser" si besoin */
		padding: 10px;
	}
	.header_left_col
	{
		display: none;
	}
}
@media screen and (max-width: 600px){
	.header_content
	{
		display: block;
	}
}