-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
107 lines (94 loc) · 1.94 KB
/
Copy pathstyle.css
File metadata and controls
107 lines (94 loc) · 1.94 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
/* Reset default margins and paddings */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Center the app on the screen with a gradient background */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #74ebd5 0%, #9face6 100%);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: #333;
}
/* The main white card */
.container {
background-color: #ffffff;
padding: 2.5rem;
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
width: 90%;
max-width: 500px;
text-align: center;
}
h1 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
color: #2c3e50;
}
/* Quote Area Styling */
#quote-container {
background-color: #f8f9fa;
padding: 1.5rem;
border-radius: 8px;
border-left: 5px solid #3498db;
min-height: 120px;
display: flex;
flex-direction: column;
justify-content: center;
margin-bottom: 1.5rem; /* Pushes the bottom buttons down */
}
/* The actual quote text */
#quote {
font-size: 1.25rem;
font-style: italic;
line-height: 1.5;
margin-bottom: 1rem;
color: #34495e;
}
/* CSS trick to add a quotation mark before the text */
#quote::before {
content: '"';
font-size: 2rem;
color: #bdc3c7;
vertical-align: bottom;
margin-right: 5px;
}
/* The author text */
#author {
font-size: 1rem;
font-weight: bold;
color: #7f8c8d;
text-align: right;
}
/* Shared Button Styles */
button {
color: white;
border: none;
padding: 12px 20px;
font-size: 1rem;
font-weight: 600;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s ease;
margin: 5px; /* Adds space between side-by-side buttons */
}
button:active {
transform: scale(0.95);
}
/* Specific Button Colors */
#generate-btn {
background-color: #3498db; /* Blue */
}
#generate-btn:hover {
background-color: #2980b9;
}
#copy-btn {
background-color: #2ecc71; /* Green */
}
#copy-btn:hover {
background-color: #27ae60;
}