146 lines
2.0 KiB
CSS
146 lines
2.0 KiB
CSS
/* Reset */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: "Helvetica Neue", Arial, sans-serif;
|
|
background: #111;
|
|
color: #eee;
|
|
}
|
|
|
|
|
|
header {
|
|
background: #111;
|
|
border-bottom: 1px solid #333;
|
|
padding: 15px 30px;
|
|
}
|
|
|
|
.menu {
|
|
list-style: none;
|
|
display: flex;
|
|
gap: 30px;
|
|
}
|
|
|
|
.menu a {
|
|
color: #bbb;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.menu a.active,
|
|
.menu a:hover {
|
|
color: #f5f5f5;
|
|
}
|
|
|
|
.home {
|
|
height: calc(100vh - 60px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
gap: 25px;
|
|
}
|
|
|
|
.home h1 {
|
|
font-size: 3.5rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.home p {
|
|
max-width: 600px;
|
|
color: #aaa;
|
|
}
|
|
|
|
.home .btn {
|
|
padding: 12px 28px;
|
|
border: 1px solid #eee;
|
|
color: #eee;
|
|
text-decoration: none;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.home .btn:hover {
|
|
background: #eee;
|
|
color: #111;
|
|
}
|
|
|
|
#app {
|
|
display: flex;
|
|
height: calc(100vh - 60px);
|
|
}
|
|
|
|
/* panneau paramètres */
|
|
#controls {
|
|
width: 280px;
|
|
padding: 30px;
|
|
background: #151515;
|
|
border-right: 1px solid #333;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
#controls h2 {
|
|
font-size: 1.2rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* choisir une forme */
|
|
label {
|
|
font-size: 0.75rem;
|
|
color: rgb(161, 161, 161);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
select,
|
|
button {
|
|
background: transparent;
|
|
border: 1px solid #444;
|
|
color: rgb(255, 255, 255);
|
|
padding: 10px;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* options libre etc */
|
|
select option {
|
|
background-color: #111;
|
|
color: #eee;
|
|
}
|
|
/* bord quand selection */
|
|
select:hover,
|
|
button:hover {
|
|
border-color: #eee;
|
|
}
|
|
|
|
button {
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
|
|
|
|
/* canvas */
|
|
canvas {
|
|
flex: 1;
|
|
background: rgb(255, 255, 255);
|
|
cursor: crosshair;
|
|
}
|
|
|
|
|
|
|
|
|