-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
125 lines (111 loc) · 1.62 KB
/
index.css
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
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
max-width: 800px;
margin: auto;
padding: 1em 1em;
font-family: sans-serif;
}
pre {
padding: 1em;
max-width: 100%;
overflow-x: auto;
}
img {
height: auto;
width: 100%;
}
input[type="email"],
textarea {
width: 100%;
padding: 1em;
}
nav {
display: flex;
justify-content: space-between;
margin-bottom: 1em;
}
nav a {
padding: 1em;
}
nav svg {
width: 8em;
}
.float {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.card {
background-color: #fff;
margin: 10px;
padding: 20px;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.card .details {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
}
.card .details div {
margin: 0.5rem;
}
.card .details div div {
text-align: center;
}
.card button {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 3px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.card button.red {
background-color: #ff4136;
}
.error {
color: red;
}
.quickActions {
position: fixed;
bottom: 0;
right: 0;
display: flex;
flex-direction: column-reverse;
}
.quickActions button {
margin: 0.5rem;
height: 3rem;
width: 3rem;
}
@media (prefers-color-scheme: dark) {
body {
background: #333;
}
body,
a {
color: white;
}
.card {
background-color: #555;
}
}
label {
display: block;
margin-bottom: 0.5rem;
}
input {
width: 100%;
padding: 0.5rem;
margin-bottom: 1rem;
}