-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
107 lines (90 loc) · 1.42 KB
/
styles.css
File metadata and controls
107 lines (90 loc) · 1.42 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
ul {
list-style-type: none;
padding: 0;
display: flex;
flex-direction: row;
gap: 1rem;
max-width: 60%;
margin-inline: auto;
justify-content: space-evenly;
flex-wrap: wrap;
align-items: center;
}
.card-container {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 20px;
}
li {
background: #f9f9f9;
border: 1px solid #ddd;
border-radius: 5px;
padding: 10px;
margin: 10px 0;
width: 300px;
height: 150px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
justify-content: space-between;
overflow: hidden;
}
h2, p {
margin: 0;
padding: 5px;
overflow: auto;
}
p {
flex-grow: 1;
}
button {
background: #ff4c4c;
color: white;
border: none;
border-radius: 5px;
padding: 10px 20px;
cursor: pointer;
font-size: 14px;
margin-top: 10px;
}
button:hover {
background: #ff1f1f;
}
input {
width: 100%;
box-sizing: border-box;
padding: 5px;
font-size: 14px;
}
form {
max-width: 50%;
margin-inline: auto;
margin-top: 2rem;
display: flex;
flex-direction: column;
gap: 1rem;
padding: 2rem;
width: 500px;
border-radius: 10px;
background-color: aquamarine;
}
input {
width: 80%;
margin-inline: auto;
font-size: 1.2rem;
}
textarea {
width: 80%;
margin-inline: auto;
font-size: 1rem;
}
button {
width: 40%;
margin-inline: auto;
}