-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
129 lines (111 loc) · 3.71 KB
/
styles.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
/* Global Reset */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Open Sans', sans-serif; /* Updated font family */
background-image: url('unnamed.jpg'); /* Replace 'high_quality_image.jpg' with your chosen background image */
background-size: cover;
background-position: center;
background-attachment: fixed; /* Fixed background attachment for better visual appeal */
}
.container {
max-width: 1200px; /* Increased container width for larger screens */
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 50px; /* Increased margin for better spacing */
}
h1 {
color: #333;
font-size: 3rem; /* Increased font size for better emphasis */
margin-bottom: 30px; /* Increased margin for better spacing */
}
.main-content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.card {
flex-basis: calc(48% - 20px);
padding: 30px; /* Increased padding for better spacing */
border-radius: 20px; /* Increased border radius for smoother edges */
margin-bottom: 30px;
transition: transform 0.3s ease;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Increased box shadow for better depth */
}
.card:hover {
transform: translateY(-10px); /* Increased lift on hover for better interactivity */
}
.card h2 {
font-size: 2.2rem; /* Increased font size for better readability */
margin-bottom: 30px; /* Increased margin for better spacing */
}
.input-container {
position: relative;
}
input[type="text"],
textarea {
width: calc(100% - 40px); /* Increased width for better input spacing */
padding: 20px; /* Increased padding for better input spacing */
border: 2px solid #ccc; /* Increased border width for better visibility */
border-radius: 10px;
margin-bottom: 30px;
font-size: 1.2rem; /* Increased font size for better readability */
}
button {
padding: 20px 30px; /* Increased padding for better button size */
background-color: #ff6f61; /* Updated button color */
color: #fff;
border: none;
border-radius: 50px; /* Adjusted border-radius for smoother edges */
cursor: pointer;
transition: background-color 0.3s ease;
font-size: 1.2rem;
margin-bottom: 10px;
margin-left: 10px; /* Increased margin for better spacing */
}
button:hover {
background-color: #ff402c; /* Darker shade on hover for better contrast */
}
.past-entries {
flex-basis: 100%;
padding: 30px; /* Increased padding for better spacing */
border-radius: 20px; /* Increased border radius for smoother edges */
margin-top: 30px; /* Increased margin for better spacing */
}
.past-entries h2 {
font-size: 2.2rem; /* Increased font size for better readability */
margin-bottom: 30px; /* Increased margin for better spacing */
}
.view-entries {
display: inline-block; /* Adjusted display property for better alignment */
text-decoration: none;
background-color: orange; /* Changed background color to orange */
color: white; /* Changed text color to white */
font-size: 1.4rem; /* Increased font size */
padding: 10px 20px; /* Added padding for button size */
border-radius: 5px; /* Added border radius for rounded corners */
border: none; /* Removed border */
transition: background-color 0.3s ease; /* Added transition for hover effect */
margin-bottom: 5px;
margin-top: 5px;
margin-left: 450px;
}
.view-entries:hover {
background-color: darkorange; /* Darker shade on hover for better contrast */
}
/* Font Awesome Icons */
.fa-pen {
margin-right: 10px; /* Increased margin for better spacing */
}
/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
.card {
flex-basis: 100%;
}
}