Files
Site-Web/tests/style.css
T
2026-11-20 19:53:02 +01:00

100 lines
1.5 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&display=swap');
html {
font-family: 'Comfortaa', cursive;
}
.large {
width: 80%;
}
body {
background: url(../data/fond/Pino.png) no-repeat center center fixed;
}
.parent {
padding: 1rem;
}
.grid-parent {
background: yellow;
display: grid;
grid-template-columns: 1fr 1fr;
}
.child {
background: pink;
padding: 1rem;
margin: 0 auto;
}
.divclic {
border-radius: 10px;
background: lightblue;
margin: 1% auto;
width: 500px;
height: 100px;
text-align: center;
overflow-wrap: anywhere;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}
/* Alignement au centre et espacé des autre éléments */
.centre {
text-align: center;
}
.pad {
padding: 20px;
}
/* Animation multicolor */
.mimicolor {
font-family: Comfortaa;
font-size: 3em;
animation: color-change 1s infinite;
}
@keyframes color-change {
0% { color: #ff0000; }
10% { color: #ff5300; }
20% { color: #ffa500; }
30% { color: #ffd200; }
40% { color: #ffff00; }
50% { color: #80c000; }
60% { color: #008000; }
70% { color: #004080; }
80% { color: #0000ff; }
90% { color: #2600c1; }
100% { color: #4b0082; }
}
/* Apparence des LIENS */
a {
color: white;
background-color: black;
font-weight: bold;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}