-
-
Notifications
You must be signed in to change notification settings - Fork 413
/
substainability.css
172 lines (147 loc) · 2.42 KB
/
substainability.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
/* Reset and General Styling */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #f4f4f4;
color: #333;
}
/* Header */
.header {
background-color: #2ecc71;
color: white;
text-align: center;
padding: 20px;
}
.header h1 {
font-size: 2.5em;
margin-bottom: 5px;
}
.header p {
font-size: 1.2em;
font-weight: 300;
}
/* Navbar */
.navbar-area {
display: flex;
justify-content: center;
background-color: #333;
}
.navbar {
display: flex;
justify-content: center;
}
.navbar-nav {
list-style: none;
display: flex;
gap: 20px;
}
.navbar-nav .nav-item a {
color: #fff;
text-decoration: none;
padding: 10px 15px;
font-weight: bold;
transition: background-color 0.3s;
}
.navbar-nav .nav-item a:hover {
background-color: #444;
border-radius: 5px;
}
/* Main Content */
.main-content {
padding: 20px;
}
/* Section Styling */
section {
background: white;
margin: 20px 0;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
}
section h2 {
font-size: 1.8em;
color: #2c3e50;
margin-bottom: 10px;
}
section p,
section ul,
section ol {
font-size: 1em;
color: #555;
line-height: 1.5;
}
section ul,
section ol {
padding-left: 20px;
}
/* Hover Effects */
.hover-effect:hover {
transform: scale(1.02);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* Subsection Styling */
.strategy,
.case-study,
.stats {
margin-top: 15px;
padding-top: 10px;
border-top: 1px solid #eaeaea;
}
.strategy h3,
.case-study h3,
.stats h3 {
color: #27ae60;
font-size: 1.4em;
}
/* Links */
a {
color: #2980b9;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Footer */
.footer {
background-color: #2c3e50;
color: white;
text-align: center;
padding: 10px 0;
position: relative;
bottom: 0;
width: 100%;
}
/* Additional Styling for Specific Elements */
.importance ul,
.statistics ul,
.resources ol {
list-style-type: disc;
padding-left: 1.5em;
}
.resources a {
color: #27ae60;
font-weight: 600;
}
.resources a:hover {
color: #2ecc71;
}
/* Button */
.main-btn {
display: inline-block;
padding: 10px 20px;
background-color: #2ecc71;
color: white;
font-weight: bold;
border-radius: 5px;
text-align: center;
transition: background-color 0.3s ease;
}
.main-btn:hover {
background-color: #27ae60;
}