-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
167 lines (149 loc) · 3.25 KB
/
Copy pathstyle.css
File metadata and controls
167 lines (149 loc) · 3.25 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
:root {
--bg-color: #121214;
--card-bg: #18181b;
--text-color: #f4f4f5;
--text-muted: #a1a1aa;
--accent-neon: #00f0ff;
--accent-blue: #3b82f6;
--accent-hover: #2563eb;
--border-color: #27272a;
--radius: 12px;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
font-family: 'Roboto', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem 1rem;
}
.centered-header {
text-align: center;
margin-bottom: 2rem;
}
.centered-header h1 {
font-weight: 700;
font-size: 2rem;
color: var(--text-color);
text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}
.content-wrapper {
width: 100%;
max-width: 600px;
display: flex;
flex-direction: column;
gap: 1.5rem;
padding-bottom: 5rem;
}
/* Adding Box Styles */
.adding-box {
background-color: var(--card-bg);
border: 1px solid var(--accent-neon);
border-radius: var(--radius);
padding: 1rem;
position: relative;
box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}
.adding-box textarea {
width: 100%;
min-height: 100px;
background: transparent;
border: none;
color: var(--text-color);
font-family: 'Roboto', sans-serif;
font-size: 1rem;
resize: vertical;
outline: none;
padding-bottom: 2.5rem;
}
/* Send Button inside Box (Bottom Right) */
.send-btn {
position: absolute;
bottom: 1rem;
right: 1rem;
background-color: var(--accent-blue);
color: white;
border: none;
border-radius: 8px;
padding: 0.5rem 1rem;
font-family: 'Roboto', sans-serif;
font-weight: 500;
cursor: pointer;
display: flex;
align-items: center;
gap: 0.5rem;
transition: background 0.2s;
}
.send-btn:hover {
background-color: var(--accent-hover);
box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}
.send-btn svg {
width: 16px;
height: 16px;
fill: currentColor;
}
/* Post Feed List */
.post-feed {
display: flex;
flex-direction: column;
gap: 1rem;
}
.post-card {
background-color: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: var(--radius);
padding: 1.25rem;
word-break: break-word;
}
.post-card p {
line-height: 1.5;
color: var(--text-color);
}
/* Main Floating Action Button (FAB) */
.fab-post {
position: fixed;
bottom: 2rem;
right: 2rem;
width: 56px;
height: 56px;
background-color: var(--accent-blue);
border: none;
border-radius: 12px; /* Square with curved corners */
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
transition: transform 0.2s, background-color 0.2s;
}
.fab-post:hover {
background-color: var(--accent-hover);
transform: scale(1.05);
}
.fab-post .icon {
width: 24px;
height: 24px;
fill: white;
}
#send-btn {
margin-top: 10px;
padding: 8px 16px;
background-color: #3b82f6;
color: white;
border: none;
border-radius: 6px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.2s ease;
}
#send-btn:hover {
background-color: #2563eb;
}