-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_course.css
More file actions
153 lines (135 loc) · 3.52 KB
/
add_course.css
File metadata and controls
153 lines (135 loc) · 3.52 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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Lato", sans-serif, "Merriweather", serif; /* New fonts */
}
html {
font-size: 16px;
-webkit-font-smoothing: antialiased;
}
body {
margin: 0;
padding: 0;
background: #2c3e50; /* Dark slate background */
color: #ecf0f1; /* Default light gray text for contrast */
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
font-size: 1rem;
}
/* Header Section */
header {
width: 100%;
background: linear-gradient(135deg, #9b59b6, #e74c3c); /* Abstract purple to pink gradient */
text-align: center;
padding: 30px 20px;
box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3); /* Soft shadow */
}
header .header-container {
display: inline-block;
text-align: center;
}
header h1 {
font-size: 3rem;
font-weight: 700;
color: #ffffff;
text-transform: uppercase;
letter-spacing: 4px;
margin: 0;
}
header h2 {
font-size: 1.5rem;
font-weight: 400;
color: #ffffff;
margin-top: 10px;
letter-spacing: 1px;
}
/* Main Content Section */
main {
display: flex;
justify-content: center; /* Center the content horizontally */
align-items: center; /* Center the content vertically */
flex: 1;
min-height: 100vh; /* Ensure it takes up full height */
padding: 0 20px; /* Add some padding for better spacing */
}
.full {
width: 100%;
max-width: 600px;
padding: 40px;
background-color: rgba(44, 62, 80, 0.85); /* Dark semi-transparent background */
border-radius: 15px; /* Apply border-radius for rounded corners */
box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3); /* Soft shadow */
backdrop-filter: blur(10px);
display: flex;
flex-direction: column;
align-items: center; /* Center align all child elements */
}
/* Form Container */
form {
width: 100%;
display: flex;
flex-direction: column;
gap: 15px; /* Adds space between the form elements */
}
/* Input and Select fields */
input[type="text"], input[type="password"], input[type="number"] {
width: 100%;
padding: 12px;
font-size: 1rem;
border: 2px solid #34495e; /* Dark border */
border-radius: 8px;
background-color: #ecf0f1; /* Light background for inputs */
color: #34495e; /* Dark text color for input */
margin-bottom: 15px; /* Adds space between fields */
transition: border-color 0.3s ease;
}
input[type="text"]:focus, input[type="password"]:focus, input[type="number"]:focus {
outline: none;
border-color: #e74c3c; /* Red border on focus */
}
/* Label Styling */
label {
font-size: 1.1rem;
font-weight: 500;
color: #ecf0f1; /* Light text for labels */
margin-bottom: 5px;
}
/* Button Styling */
button {
padding: 12px 20px;
font-size: 1.2rem;
font-weight: 600;
background-color: #e74c3c; /* Red button */
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
button:hover {
background-color: #c0392b; /* Darker red on hover */
transform: translateY(-3px); /* Slight hover lift */
}
/* Success Message */
h2 {
font-size: 2rem;
font-weight: 600;
color: #e74c3c; /* Vibrant red accent */
margin-bottom: 30px;
}
/* Responsive Design */
@media (max-width: 768px) {
.full {
padding: 20px;
}
h2 {
font-size: 1.8rem;
}
input[type="text"], input[type="password"], input[type="number"], button {
font-size: 1rem;
}
}