-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles_add_course.css
96 lines (87 loc) · 2.26 KB
/
styles_add_course.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
/* General Styling */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background: linear-gradient(135deg, rgba(58, 123, 213, 0.9), rgba(58, 213, 196, 0.9));
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
color: #fff;
}
/* Glassmorphism Container */
.container {
background: rgba(255, 255, 255, 0.2);
border-radius: 15px;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
padding: 30px;
max-width: 400px;
width: 90%;
text-align: center;
box-sizing: border-box;
}
.container h2 {
font-size: 2rem;
margin-bottom: 20px;
color: #fff;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
/* Form Styling */
form input, form textarea {
width: 100%;
padding: 10px;
margin: 10px 0;
border: none;
border-radius: 5px;
background: rgba(255, 255, 255, 0.4);
color: #333;
font-size: 1rem;
box-sizing: border-box;
}
form textarea {
height: 100px;
resize: none;
}
form button {
width: 100%;
padding: 10px;
background: linear-gradient(135deg, rgba(58, 123, 213, 0.8), rgba(58, 213, 196, 0.8));
color: #fff;
border: none;
border-radius: 5px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
}
form button:hover {
background: linear-gradient(135deg, rgba(58, 213, 196, 0.8), rgba(58, 123, 213, 0.8));
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
/* Error Message Styling */
form p {
margin: 10px 0;
color: #ff4d4d;
font-weight: bold;
font-size: 0.9rem;
}
/* Back Button Styling */
.back-btn {
display: inline-block;
margin: 20px 0;
padding: 10px 20px;
background: linear-gradient(135deg, rgba(255, 165, 0, 0.8), rgba(255, 69, 0, 0.8));
color: #fff;
text-decoration: none;
border-radius: 8px;
font-weight: bold;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background 0.3s, box-shadow 0.3s;
}
.back-btn:hover {
background: linear-gradient(135deg, rgba(255, 69, 0, 0.8), rgba(255, 165, 0, 0.8));
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}