-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
167 lines (154 loc) · 3.42 KB
/
style.css
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
/* CSS */
/* ██████ ███████ ███████ */
/* ██ ██ ██ */
/* ██ ███████ ███████ */
/* ██ ██ ██ */
/* ██████ ███████ ███████ */
/* BODY */
/* background-color */
body {
background-color: white;
font-family: 'Lato', sans-serif;
color: #black;
font-size: 23px;
line-height: 1;
text-align: center;
display: flex;
}
.profile-picture {
border-radius: 50%;
}
/* HEADERS */
h1, h2, h3 {
font-family: "Helvetica Neue", Helvetica, Arial;
color: #1572A1;
line-height: 1.2em;
}
/* H1 & H2 */
h1 {
font-size: 35px;
}
h2 {
font-size: 30px;
}
/* DIV & BOX */
.container {
width: 900px; /* Set the width */
margin: 0 auto; /* Set automatic margins on right/left */
padding: 50px;
padding-bottom: 50px;
}
.card {
background: white; /* White background */
padding: 30px; /* Internal space */
border-radius: 4px; /* Small radius */
box-shadow: 0 5px 10px rgba(0,0,0,.1); /* Light shadow */
}
.card-footer {
list-style: none;
padding-left: 0px;
}
.list-inline > li {
display: inline-block;
padding: 0px 20px;
}
/* LIENS */
a {
color: #1572A1;
text-decoration: none;
}
a:hover {
background-color: gold;
}
/* RESPONSIVE */
@media (max-width: 960px) {
/* Pour un écran < 960px, cette classe CSS s'applique */
.container {
width: 700px;
}
}
/* TITRE H1 AVEC EFFET DE STYLE */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
.gradient-text {
color: transparent;
background: conic-gradient(
#D9D7F1 12%,
#BAABDA 12%, #BAABDA 33%,
#E7FBBE 33%, #E7FBBE 55%,
#FFCBCB 55%, #FFCBCB 70%,
#B5DEFF 70%, #B5DEFF 87%,
#F7D1BA 87%);
background-size: 50%;
background-clip: text;
-webkit-background-clip: text;
animation: expand-rev 0.5s ease forwards;
cursor: pointer;
}
.gradient-text:hover {
animation: expand 0.5s ease forwards;
}
@keyframes expand {
0% {
background-size: 50%;
background-position: 0 0;
}
20% {
background-size: 55%;
background-position: 0 1em;
}
100% {
background-size: 325%;
background-position: -10em -4em;
}
}
@keyframes expand-rev {
0% {
background-size: 325%;
background-position: -10em -4em;
}
20% {
background-size: 55%;
background-position: 0 1em;
}
100% {
background-size: 50%;
background-position: 0 0;
}
}
/* BUTTON AVEC EFFET DE STYLE */
.btn-ghost {
color: #4A4A4A;
border: 1px solid #4A4A4A;
padding: 8px 24px;
border-radius: 50px;
font-weight: lighter;
opacity: 0.6;
transition: opacity 0.3s ease;
}
.btn-ghost:hover {
opacity: 1;
}
.btn-flat {
color: white;
padding: 8px 24px;
border-radius: 4px;
background: #1EDD88;
transition: background 0.3s ease;
}
.btn-flat:hover {
background: #1BCB7F;
color: white;
}
.btn-gradient {
color: white;
padding: 8px 24px;
border-radius: 4px;
font-weight: bold;
background: linear-gradient(#167FFB, #0F60C4);
transition: background 0.3s ease;
border: 1px solid #0F60C4;
}
.btn-gradient:hover {
background: linear-gradient(#147EFF, #0F67DA);
color: white;
}