Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* icons */
- @import url("https://kit.fontawesome.com/f90922f667.js");
- /* font */
- @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
- /* Colour palette */
- :root {
- --riverbed: #495464;
- --frenchgrey: #838896;
- --mercury: #e8e8e8;
- --lightgrey: #f4f4f2;
- --good: #75b200;
- --darkgood: #406300;
- --decent: #ddd75a;
- --darkdecent: #7c7831;
- --poor: #f8bc4c;
- --darkpoor: #795b25;
- --bad: #e56565;
- --darkbad: #7a3535;
- }
- html * {
- font-family: Roboto, FontAwesome !important;
- }
- h1 {
- text-align: center;
- }
- button {
- box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
- border: none;
- transition-duration: 350ms;
- -webkit-transition-duration: 350ms;
- background-color: var(--frenchgrey);
- color: white;
- cursor: pointer;
- }
- /* Extend container to bottom of page */
- html,
- body {
- height: 100%;
- width: 100%;
- margin: 0 0 0 0;
- overflow: -moz-scrollbars-none;
- -ms-overflow-style: none;
- scroll-behavior: smooth;
- background-image: linear-gradient(to left, var(--riverbed), var(--mercury) 25%, var(--mercury) 75%, var(--riverbed) 100%);
- /* background-size: cover !important; */
- background-attachment: scroll !important;
- background-size: cover;
- }
- a:link,
- a:visited,
- a:hover,
- a:active {
- text-decoration: none;
- }
- .input,
- select {
- width: 100%;
- padding: 12px 10px;
- margin: 8px 0;
- display: inline-block;
- border: 1px solid var(--mercury);
- border-radius: 4px;
- box-sizing: border-box;
- background-color: white;
- }
- abbr[title] {
- border-bottom: none !important;
- cursor: inherit !important;
- text-decoration: none !important;
- }
- .scroll-button {
- display: none;
- position: fixed;
- bottom: 30px;
- right: 30px;
- outline: none;
- padding: 15px;
- border-radius: 10px;
- }
- .submitbutton {
- width: 100%;
- padding: 14px 20px;
- margin: 8px 0;
- border-radius: 4px;
- }
- .submitbutton:hover {
- background-color: var(--lightgrey);
- color: var(--riverbed);
- }
- .submitbutton:active {
- color: white;
- background-color: var(--riverbed);
- }
- .note {
- font-size: 12px;
- padding: 5px;
- margin: 3px 0px 3px 0px;
- border-width: 6px;
- border-left-style: solid;
- }
- .good {
- color: var(--good)
- }
- .goodnote {
- background-color: var(--good);
- border-color: var(--darkgood);
- }
- .decent {
- color: var(--decent)
- }
- .decentnote {
- background-color: var(--decent);
- border-color: var(--darkdecent);
- }
- .poor {
- color: var(--poor)
- }
- .poornote {
- background-color: var(--poor);
- border-color: var(--darkpoor);
- }
- .bad {
- color: var(--bad)
- }
- .badnote {
- background-color: var(--bad);
- border-color: var(--darkbad);
- }
- .topnav {
- background-color: var(--frenchgrey);
- overflow: hidden;
- }
- /* Hide scroll bar */
- body::-webkit-scrollbar {
- width: 0 !important
- }
- .container {
- display: flex;
- flex-direction: column;
- max-width: 650px;
- padding: 10px;
- margin: auto;
- min-height: 100%;
- bottom: 0px;
- }
- .topnav a {
- float: left;
- display: block;
- color: white;
- text-align: center;
- padding: 14px 16px;
- text-decoration: none;
- font-size: 17px;
- transition-duration: 350ms;
- -webkit-transition-duration: 350ms;
- }
- .topnav a:hover,
- .scroll-button:hover {
- background-color: var(--mercury);
- color: var(--riverbed);
- }
- .topnav a.active,
- .scroll-button:active {
- background-color: var(--riverbed);
- color: white;
- }
- .topnav .icon {
- display: none;
- }
- .sticky {
- position: fixed;
- top: 0;
- width: 100%;
- }
- .sticky+.container {
- padding-top: 60px;
- }
- @media screen and (max-width: 600px) {
- .topnav a:not(:first-child) {
- display: none;
- }
- .topnav a.icon {
- float: right;
- display: block;
- }
- }
- @media screen and (max-width: 600px) {
- .topnav.responsive {
- position: relative;
- }
- .topnav.responsive a.icon {
- position: absolute;
- right: 0;
- top: 0;
- }
- .topnav.responsive a {
- float: none;
- display: block;
- text-align: left;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment