Refactor CSS to style.css and update index.html for weather overlay link
This commit is contained in:
50
style.css
Normal file
50
style.css
Normal file
@@ -0,0 +1,50 @@
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
color: white;
|
||||
background-color: #222;
|
||||
margin: 0;
|
||||
padding: 40px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
background-color: #333;
|
||||
padding: 30px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
h1 {
|
||||
color: #4CAF50;
|
||||
}
|
||||
h2 {
|
||||
color: #FFC107;
|
||||
border-bottom: 1px solid #4CAF50;
|
||||
padding-bottom: 5px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
a {
|
||||
color: #2196F3;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
}
|
||||
li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.important-note {
|
||||
background-color: #555;
|
||||
padding: 15px;
|
||||
border-left: 5px solid #FFC107;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.footer-info {
|
||||
margin-top: 30px;
|
||||
font-size: 0.8em;
|
||||
color: #aaa;
|
||||
}
|
||||
Reference in New Issue
Block a user