-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
123 lines (105 loc) · 1.64 KB
/
Copy pathstyle.css
File metadata and controls
123 lines (105 loc) · 1.64 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', sans-serif;
background: linear-gradient(135deg, #0f172a, #1e293b);
color: white;
min-height: 100vh;
}
/* Layout */
.app {
max-width: 900px;
margin: auto;
padding: 20px;
}
/* Header */
header {
text-align: center;
margin-bottom: 20px;
}
header h1 {
font-size: 2rem;
}
header p {
color: #94a3b8;
}
/* Card (Glass Effect) */
.card {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
padding: 20px;
border-radius: 16px;
margin-bottom: 20px;
box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
/* Preview */
#preview {
height: 200px;
border-radius: 12px;
}
/* Controls */
.controls {
display: flex;
gap: 15px;
flex-wrap: wrap;
}
.control {
flex: 1;
min-width: 150px;
}
.control label {
display: block;
margin-bottom: 5px;
font-size: 0.9rem;
color: #cbd5f5;
}
input[type="color"] {
width: 100%;
height: 45px;
border-radius: 8px;
border: none;
}
input[type="range"] {
width: 100%;
}
/* Output */
.output h3 {
margin-bottom: 10px;
}
.code {
display: flex;
margin: 10px 0;
}
.code input {
flex: 1;
padding: 10px;
border: none;
outline: none;
border-radius: 8px 0 0 8px;
}
.code button {
padding: 10px 15px;
border: none;
background: linear-gradient(45deg, #22c55e, #4ade80);
color: black;
font-weight: bold;
cursor: pointer;
border-radius: 0 8px 8px 0;
transition: 0.3s;
}
.code button:hover {
transform: scale(1.05);
}
/* Toast */
#toast {
position: fixed;
bottom: 20px;
right: 20px;
background: #22c55e;
padding: 10px 20px;
border-radius: 8px;
display: none;
}