-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
127 lines (106 loc) · 1.84 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
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
background-color: #f5f5f5;
color: #213547;
}
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
}
#app {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}
h1 {
text-align: center;
color: #6666FF;
margin-bottom: 2rem;
}
.inputs {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-bottom: 2rem;
}
.input-group {
display: flex;
flex-direction: column;
}
label {
margin-bottom: 0.5rem;
font-weight: 500;
}
input {
padding: 0.5rem;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 1rem;
}
.buttons {
grid-column: 1 / -1;
display: flex;
gap: 1rem;
justify-content: center;
}
button {
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
border-radius: 8px;
border: 1px solid transparent;
cursor: pointer;
transition: all 0.2s;
}
button.primary {
background-color: #646cff;
color: white;
}
button.primary:hover {
background-color: #535bf2;
}
button:not(.primary) {
background-color: #f9f9f9;
border-color: #ccc;
}
button:not(.primary):hover {
border-color: #646cff;
}
.simulation {
background: white;
border-radius: 8px;
padding: 1rem;
margin: 2rem 0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
canvas {
width: 100%;
height: 400px;
background: #fafafa;
border: 1px solid #eee;
}
.results {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
text-align: center;
}
.result-item {
background: white;
padding: 1rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.result-item h3 {
color: #6666FF;
margin: 0 0 0.5rem 0;
}
.result-item p {
margin: 0;
font-size: 1.2rem;
font-weight: 500;
}