forked from Mohit5Upadhyay/WeatherApplication
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.css
126 lines (112 loc) · 1.94 KB
/
about.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
/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
background-color: #f4f7f9;
color: #333;
}
nav{
display: flex;
height: 10px;
width: 10%;
align-items: center;
justify-content: space-between;
}
nav ul li{
display: inline-block;
line-height: 80px; /*gap from above */
margin: 0 5px; /*gap in between */
}
nav ul li a{
color: white;
font-size:17px;
text-decoration: none;
padding: 6px 20px;
transition: .5s;
position: relative;
}
nav a:hover{
color: aqua;
}
nav a span{
position: absolute;
top:0;
left: 0;
width: 100%;
height: 30px;
border-radius: 15px;
border-bottom: 1px solid aqua;
border: radius 15px;
transform: scale(0) translateY(50px);
transition: .5s;
opacity: 0;
}
nav a:hover span{
transform: scale(1) translateY(2px);
opacity: 1;
}
.container {
width: 90%;
max-width: 1100px;
margin: 0 auto;
}
/* Header Styles */
header {
background-color: #165e85;
color: white;
padding: 60px 0;
text-align: center;
}
header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
}
header p {
font-size: 1.25rem;
}
/* About Section Styles */
.about-section {
background-color: white;
padding: 60px 0;
margin: 20px 0;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.about-section h2 {
font-size: 2rem;
margin-bottom: 20px;
color: #0077b6;
}
.about-section p {
font-size: 1.1rem;
margin-bottom: 20px;
color: #555;
}
.about-section ul {
list-style: none;
padding-left: 0;
margin-bottom: 40px;
}
.about-section ul li {
margin-bottom: 10px;
font-size: 1.1rem;
color: #333;
}
.about-section ul li strong {
color: #0077b6;
}
/* Footer Styles */
footer {
background-color: #0077b6;
color: white;
text-align: center;
padding: 20px 0;
}
footer p {
font-size: 1rem;
}