-
Notifications
You must be signed in to change notification settings - Fork 0
/
addblog.css
122 lines (110 loc) · 2.53 KB
/
addblog.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.dropzone-box {
border: 1px solid #ccc;
padding: 20px;
border-radius: 5px;
background-color: #f9f9f9;
width: 60%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.custom-file-upload {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
display: inline-block;
}
/* Position the label over the input */
.custom-file-upload {
position: relative;
overflow: hidden;
/* Adjust these values to position the label as needed */
top: 0;
left: 0;
}
#upload-file {
position: absolute;
top: 0;
left: 0;
opacity: 0;
width: 100%;
height: 100%;
cursor: pointer;
}
input[type="text"],
textarea {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.dropzone-area {
border: 2px dashed #ccc;
padding: 20px;
text-align: center;
margin-bottom: 20px;
}
.dropzone-area input[type="file"] {
display: none;
}
.dropzone-actions {
display: flex;
justify-content: space-between;
align-items: center;
}
.close-btn {
background-color: #ddd;
color: #333;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
#submit-button {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
#submit-buttonn {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
display: flex;
align-items: center;
}
.spin {
border: 2px solid #f3f3f3;
border-top: 2px solid #3498db;
border-radius: 50%;
width: 15px;
height: 15px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.cont{
width: 70%;
}
.blog_cover{
width: 100%;
border-radius: 10px;
margin-top: 20px;
}