-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (111 loc) · 2.47 KB
/
style.css
File metadata and controls
125 lines (111 loc) · 2.47 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
124
125
:root {
--bg-color: #f0f2f5;
--surface-color: #fff;
--text-primary: #1a1a1a;
--text-secondary: #666;
--border-color: #e4e6e9;
--radius-lg: 36px;
--radius-md: 21px;
--radius-sm: 50px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
body {
background: var(--bg-color);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
background: var(--surface-color);
padding: 2rem;
border-radius: var(--radius-lg);
width: 90%;
max-width: 600px;
}
.heading {
text-align: center;
margin-bottom: 2rem;
}
h1 {
color: var(--text-primary);
margin-bottom: 0.5rem;
font-size: 2rem;
}
.subtext {
color: var(--text-secondary);
font-size: 0.9rem;
letter-spacing: 0.5px;
}
.quote-options {
position: relative;
width: 100%;
max-width: 300px;
margin: 0 auto 2rem;
}
#quote-type {
appearance: none;
width: 100%;
padding: 1rem 3rem 1rem 1.5rem;
border: 2px solid var(--border-color);
border-radius: var(--radius-sm);
background: var(--surface-color);
font-size: 1.1rem;
color: var(--text-primary);
cursor: pointer;
outline: none;
transition: all 0.3s ease;
font-weight: 500;
}
.quote-options::after {
content: '';
position: absolute;
right: 1.2rem;
top: 50%;
width: 0.8rem;
height: 0.8rem;
border-right: 2px solid var(--text-primary);
border-bottom: 2px solid var(--text-primary);
pointer-events: none;
transform: translateY(-70%) rotate(45deg);
}
.quote-display {
background: var(--bg-color);
padding: 2rem;
border-radius: var(--radius-md);
margin-bottom: 2rem;
min-height: 150px;
display: flex;
align-items: center;
justify-content: center;
}
#quote-text {
font-size: 1.2rem;
color: var(--text-primary);
text-align: center;
transition: opacity 0.3s ease;
}
#generate-btn {
width: 100%;
padding: 1rem;
background: var(--text-primary);
color: var(--surface-color);
border: none;
border-radius: var(--radius-sm);
cursor: pointer;
font-size: 1.1rem;
transition: all 0.3s ease;
}
#generate-btn:hover {
background: #333;
}
#generate-btn:disabled {
background: var(--text-secondary);
cursor: not-allowed;
opacity: 0.7;
}