-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (129 loc) · 2.47 KB
/
style.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
126
127
128
129
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
width: 100%;
background-color: #333;
color: #fff;
text-align: center;
padding: 10px;
}
main {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.bookmark-form {
display: flex;
margin-bottom: 10px;
}
input[type="url"] {
flex: 1;
padding: 10px;
}
button#addBookmark {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
cursor: pointer;
font-weight: 600;
margin-left: 6px;
}
button#addBookmark:hover {
background-color: #160af3;
}
button#deleteAll {
background-color: #ff6347;
color: #fff;
border: none;
padding: 10px 20px;
cursor: pointer;
margin-left: 10px;
font-weight: 600;
}
button#deleteAll:hover {
background-color: #f80404;
}
.bookmark-item {
background-color: #f5f5f5;
padding: 10px;
border: 2px solid #1d22b3;
border-radius: 5px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
background-color: #e6f2f5;
}
.bookmark-item a {
text-decoration: none;
color: #0d0d0d;
}
.bookmark-item a:hover {
text-decoration: underline;
}
.delete {
background-color: #ff6347;
color: #fff;
border: none;
padding: 5px 5px;
border-radius: 5px;
font-size: medium;
cursor: pointer;
margin-left: 5px;
}
.delete:hover {
background-color: #f80404;
}
.edit {
background-color: #6947ff;
color: #fff;
border: none;
padding: 5px 15px;
border-radius: 5px;
font-size: medium;
cursor: pointer;
}
.edit:hover {
background-color: #4b0da3;
}
ul {
list-style: none;
padding: 0;
}
li {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
a {
text-decoration: underline;
color: rgb(40, 130, 189);
}
@media (max-width: 768px) {
main {
padding: 10px;
}
.bookmark-form {
flex-direction: column;
}
input[type="url"], button#addBookmark, button#deleteAll {
margin-left: 0;
margin-bottom: 10px;
}
}
@media (max-width: 345px) {
main {
padding: 10px;
}
.bookmark-form {
flex-direction: column;
}
input[type="url"], button#addBookmark, button#deleteAll {
margin-left: 0;
}
}