aboutsummaryrefslogtreecommitdiff
path: root/public/css/head.css
blob: 3d9d6ca226a299e0be1a02f0ff8063ff07734683 (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
header
{
	text-align: center;
	/*padding-top: 5px;*/
	/*padding-bottom: 10px;*/
	background-size: cover; /* largeur du bloc_page  */
	background-position: center;
}
#nav_zone
{
	/*margin: auto;*/
	/*max-width: 1200px;*/
	display: flex;
	/*align-items: center;*/ /* conflit possible avec .social align-self */
	justify-content: center;
}
.nav_button{
	display: none;
}

.background_button
{
	max-height: 24px;
}
.header_additional_inputs
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
	margin-top: 10px;
}
.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;
}
#header_social_content img
{
	width: 28px;
	
}
#header_social_content a img
{
	width: 28px;
	background-color: #ffffffb3;
	border-radius: 50%;
}
#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;
	}
}