Skip to content

Commit

Permalink
formatting and energymix chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Harold Garbeil authored and Harold Garbeil committed Nov 22, 2024
1 parent b5b8e69 commit cb708bd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,20 @@ section.maincontent_bottom .main-left, section.maincontent_bottom .main-right {
color: var(--clr-neutral) ;
max-width : 10rem ;
border-radius: 15px;
padding: 5px 0px ;
padding: 5px 5px ;
text-align: center ;
margin-left: 10px ;
}


.split-div-left .submitButton {
align-self: center ;
padding: 5px 15px ;
font-size: 1.3rem ;
margin-left: 60px ;
}


table{
min-width:500px ;
border: 2px solid var(--clr-sky-900) ;
Expand Down Expand Up @@ -327,9 +335,10 @@ tbody th, tbody td {

}
.split-div .split-div-left {
flex: 1 0 25% ;
flex: 1 1 25% ;
display: flex ;
flex-direction: column ;
font-size : 1.4rem ;
}
.split-div .split-div-right {
flex: 1 1 70% ;
Expand All @@ -345,6 +354,7 @@ tbody th, tbody td {
list-style-type: none ;
}


@media only screen and (max-width: 900px) {
.divimage img {
display: none ;
Expand Down
2 changes: 1 addition & 1 deletion js/country.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function loadCountry () {


}
cboxstring = cboxstring + '</ul><input type="button" onclick="loadCountryMix()" value="Submit"></form>' ;
cboxstring = cboxstring + '</ul><input type="button" class="submitButton" onclick="loadCountryMix()" value="Submit"></form>' ;
document.querySelector("div.countryList").innerHTML = cboxstring ;
}

Expand Down

0 comments on commit cb708bd

Please sign in to comment.