-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
77 lines (68 loc) · 1.56 KB
/
Copy pathstyle.css
File metadata and controls
77 lines (68 loc) · 1.56 KB
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
:root {
font-family: system-ui, sans-serif;
}
#main_content {
width: 90%;
margin-inline: auto;
padding-inline: 3rem;
}
#boids_canvas {
border: 2px solid black;
background-color: snow;
width: 100%;
object-fit: contain;
}
#controls {
display: flex;
/* border: 1px solid red; */
columns: 4;
column-gap: 1rem;
margin: 1rem 2rem;
justify-content: center;
}
/* code from google ai */
.btn-outline-custom {
/* this line is mine though */
width: 5em !important;
/* Base styles (padding, font, cursor, etc.) */
display: inline-block;
font-weight: 400;
text-align: center;
vertical-align: middle;
cursor: pointer;
padding: 0.375rem 0.75rem;
/* ~6px 12px */
font-size: 1rem;
/* ~16px */
line-height: 1.5;
border-radius: 0.25rem;
/* ~4px, slightly rounded corners */
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
/* Outline specific styles */
background-color: transparent;
border: 1px solid #007bff;
/* Primary blue border color */
color: #007bff;
/* Primary blue text color */
}
/* Hover state */
.btn-outline-custom:hover {
color: #fff;
/* White text on hover */
background-color: #007bff;
/* Primary blue background on hover */
border-color: #007bff;
}
/* Focus state for accessibility (optional but recommended) */
.btn-outline-custom:focus {
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
/* Blue glow effect */
}
.slider_container>p {
margin: 0 auto;
text-align: center;
}
.slider {
width: 100%;
}