-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from smdthiranjaya/dev
Clean the code
- Loading branch information
Showing
5 changed files
with
21 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,119 +1,6 @@ | ||
.weather-page-container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
text-align: center; | ||
height: 100vh; | ||
padding: 20px; | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"build": "react-scripts --openssl-legacy-provider build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
} | ||
|
||
.leaflet-container { | ||
margin-top: 20px; | ||
border-radius: 10px; | ||
box-shadow: 0 2px 4px rgba(0,0,0,0.3); | ||
} | ||
|
||
.weather-page-container { | ||
font-family: 'Arial', sans-serif; | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
} | ||
|
||
.page-header { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.logo { | ||
height: 120px; | ||
margin-right: 20px; | ||
} | ||
|
||
.weather-stats { | ||
width: 20%; | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-between; | ||
margin: 20px; | ||
padding: px; | ||
background-color: #f1f1f1; | ||
border-radius: 8px; | ||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | ||
} | ||
|
||
.weather-stats h2 { | ||
width: 100%; | ||
text-align: center; | ||
margin-bottom: 20px; | ||
font-size: 20px; | ||
color: #333; | ||
} | ||
|
||
.stat-group { | ||
flex: 1; | ||
min-width: 150px; | ||
text-align: center; | ||
} | ||
|
||
.stat-group h3 { | ||
margin: 0 0 10px 0; | ||
font-size: 16px; | ||
color: #333; | ||
} | ||
|
||
.stat-group p { | ||
margin: 4px 0; | ||
font-size: 14px; | ||
color: #666; | ||
} | ||
|
||
|
||
/* subscription style */ | ||
.weather-stats2 { | ||
width: 50%; | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-between; | ||
margin: 20px; | ||
background-color: #f1f1f1; | ||
border-radius: 8px; | ||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | ||
} | ||
|
||
.weather-page h2 { | ||
width: 100%; | ||
text-align: center; | ||
margin-bottom: 20px; | ||
font-size: 20px; | ||
color: #333; | ||
} | ||
|
||
.weather-page form > div { | ||
margin-bottom: 15px; /* Adjust spacing for better layout */ | ||
} | ||
|
||
.weather-page label { | ||
display: block; | ||
margin-bottom: 5px; | ||
} | ||
|
||
.weather-page input, | ||
.weather-page select { | ||
width: 100%; | ||
padding: 10px; | ||
margin-bottom: 10px; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
} | ||
|
||
.weather-page button { | ||
padding: 10px 20px; | ||
background-color: #007bff; | ||
color: white; | ||
border: none; | ||
border-radius: 5px; | ||
cursor: pointer;} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters