-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
139 lines (120 loc) · 1.79 KB
/
main.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
130
131
132
133
134
135
136
137
138
139
/* Reset some default browser styles */
body,
h1,
h2,
p,
ul,
li,
form,
input,
textarea,
a {
margin: 0;
padding: 0;
border: none;
font-family: "Arial", sans-serif;
}
body {
background-color: #f7f9fc;
color: #333;
line-height: 1.6;
}
.container {
max-width: 800px;
margin: 50px auto;
background-color: #fff;
padding: 20px 40px;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
h1 {
font-size: 2.5em;
margin-bottom: 20px;
color: #444;
}
h2 {
font-size: 1.5em;
margin-bottom: 10px;
color: #555;
}
p,
input,
textarea {
margin-bottom: 20px;
}
small {
display: block;
margin-bottom: 20px;
color: #888;
}
input,
textarea {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1em;
outline: none;
transition: border 0.3s;
}
input:focus,
textarea:focus {
border-color: #007bff;
}
a,
button {
text-decoration: none;
background-color: #007bff;
color: #fff;
padding: 10px;
font-size: 1em;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
button.full-width {
display: block;
text-align: center;
width: 100%;
}
a,
button:hover {
background-color: #0056b3;
}
ul {
list-style-type: none;
}
li {
padding: 20px 0;
border-bottom: 1px solid #eee;
}
li:last-child {
border-bottom: none;
}
a.edit {
background-color: #007bff;
/* margin-right: 10px; */
}
a.delete {
background-color: #e74c3c;
}
a.delete:hover {
background-color: #c0392b;
}
#newPostBtn {
margin: 20px 0;
background-color: #2ecc71;
padding: 10px 15px;
font-size: 1em;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
border: none;
color: #fff;
text-align: center;
text-decoration: none;
}
#newPostBtn:hover {
background-color: #27ae60;
}