-
Notifications
You must be signed in to change notification settings - Fork 2
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 #8 from enram/aloft
Adapt crow to aloft
- Loading branch information
Showing
14 changed files
with
387 additions
and
75 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
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
|
@@ -56,35 +56,57 @@ export default Vue.extend({ | |
</script> | ||
|
||
<style> | ||
/* | ||
Style aims to mimic aloftdata.eu, which is based on peterdesmet/[email protected]. | ||
Note that bootstrap-vue is based on Bootstrap v5, while [email protected] is based on Bootstrap v5, | ||
so some style differences are to be expected. | ||
*/ | ||
main { | ||
min-height: calc( | ||
100vh - 54px | ||
); /* Viewport height minus medium screen navbar height, to push footer to bottom */ | ||
padding-bottom: 30px; /* Don't stick to footer */ | ||
/* See https://github.com/peterdesmet/petridish/blob/3.0/_sass/_main.scss */ | ||
min-height: calc(100vh - 54px); | ||
padding-bottom: 1.5rem; | ||
} | ||
.container-xl { | ||
max-width: 1400px; /* Increase from default 1140px to allow space for chart */ | ||
} | ||
/* Colours and style */ | ||
.navbar { | ||
/* See https://github.com/peterdesmet/petridish/blob/3.0/_sass/_navbar.scss */ | ||
background-color: white!important; | ||
border-bottom: 1px solid #e9ecef; | ||
} | ||
} | ||
.navbar .navbar-brand { | ||
font-weight: bold; | ||
} | ||
.bg-dark { | ||
background-color: #2c2c2c!important; /* Slightly darker than #343a4f to improve contrast with text */ | ||
} | ||
footer { | ||
border-top: 5px solid #e9ecef; | ||
/* See https://github.com/peterdesmet/petridish/blob/3.0/_sass/_footer.scss */ | ||
background-color: #0d1626; | ||
border-top: 5px solid #678bcb; | ||
color: #678bcb; | ||
font-size: 0.9rem; | ||
padding: 15px 0; | ||
padding: 0.75rem 0; | ||
} | ||
footer .container { | ||
margin-top: 1rem; | ||
} | ||
footer a, | ||
footer a:hover, | ||
footer a:visited { | ||
color: white; | ||
} | ||
a { | ||
color: #295cc9; | ||
} | ||
.bg-dark { | ||
background-color: #282949!important; /* aloftdata.eu banner colour */ | ||
} | ||
</style> |
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
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
Oops, something went wrong.