Spaces:
Running
Running
File size: 2,219 Bytes
a659921 79de4b9 a659921 79de4b9 | 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 | * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #1a1a1a;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: white;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
h1 {
color: #00ff88;
font-size: 28px;
margin-bottom: 10px;
}
canvas {
background: #000;
border: 2px solid #333;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
}
.controls {
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: center;
}
button {
padding: 12px 24px;
font-size: 16px;
cursor: pointer;
background: #333;
color: white;
border: 1px solid #555;
border-radius: 6px;
transition: all 0.3s ease;
font-weight: 500;
}
button:hover {
background: #444;
border-color: #00ff88;
transform: translateY(-2px);
}
button:active {
transform: translateY(0);
}
.info {
color: #888;
text-align: center;
font-size: 14px;
}
.info p {
margin: 5px 0;
}
.info span {
color: #00ff88;
font-weight: 600;
}
.step {
margin: 10px 0;
padding: 15px;
border: 2px solid #333;
border-radius: 8px;
background-color: #f5f5f5;
}
#nCirclesInput {
width: 100px;
font-size: 14px;
margin: 0 10px;
padding: 12px 24px;
font-size: 16px;
cursor: pointer;
background: #333;
color: white;
border: 1px solid #555;
border-radius: 6px;
transition: all 0.3s ease;
font-weight: 500;
}
.step label {
font-weight: bold;
margin-right: 10px;
}
.btn-input {
display: inline-block;
padding: 8px 16px;
font-size: 16px;
border: none;
background: #222;
color: #fff;
border-radius: 4px;
cursor: pointer;
margin-right: 8px;
margin-bottom: 8px;
transition: background 0.2s;
}
.btn-input:hover {
background: #444;
}
input[type="file"].btn-input {
padding: 8px 0;
color-scheme: dark;
}
@media (max-width: 768px) {
canvas {
width: 100%;
height: auto;
}
}
|