Last active
February 1, 2019 03:45
-
-
Save keyserfaty/e424b58c51c057769cd3d0285008ef94 to your computer and use it in GitHub Desktop.
slider css
This file contains hidden or 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
| :root { | |
| --white: #ffffff; | |
| --neon-blue: #03e4ff; | |
| } | |
| body{ | |
| padding: 0; | |
| margin: 0; | |
| background-color: #0d162c; | |
| font-family: 'Raleway', sans-serif; | |
| } | |
| .wrapper { | |
| padding: 0; | |
| margin: 0; | |
| width: 100vw; | |
| height: 100vh; | |
| background-image: url(../img/bg.png); | |
| background-position: center ; | |
| background-size: cover; | |
| background-attachment: fixed; | |
| background-repeat: no-repeat; | |
| background-image: | |
| -webkit-image-set ( | |
| url(../img/bg@2x.png) 2x, | |
| url(../img/bg@3x.png) 3x | |
| ); | |
| background-image: | |
| image-set( | |
| url(../img/bg@2x.png) 2x, | |
| url(../img/bg@3x.png) 3x | |
| ); | |
| } | |
| .container { | |
| padding-left: 5%; | |
| padding-top: 2%; | |
| padding-right: 5%; | |
| } | |
| .logo { | |
| float: left; | |
| } | |
| .language{ | |
| float: right; | |
| } | |
| .language a{ | |
| text-decoration: none; | |
| } | |
| .language span{ | |
| color: var(--white); | |
| } | |
| .en-he { | |
| font-family: 'Lato', sans-serif; | |
| font-size: 14.6px; | |
| letter-spacing: 0.1px; | |
| font-weight: 300; | |
| font-style: normal; | |
| font-stretch: normal; | |
| line-height: 1.67; | |
| letter-spacing: 0.1px; | |
| text-align: left; | |
| color: var(--white); | |
| } | |
| .language-select { | |
| font-size: 17.8px; | |
| font-weight: bold; | |
| letter-spacing: 0.2px; | |
| color: var(--neon-blue); | |
| } | |
| .intro{ | |
| padding-top: 3%; | |
| } | |
| h1{ | |
| font-size: 64.6px; | |
| font-weight: 300; | |
| font-style: normal; | |
| font-stretch: normal; | |
| line-height: 1.18; | |
| letter-spacing: 0.6px; | |
| color: var(--white); | |
| } | |
| h2{ | |
| font-size: 22.9px; | |
| font-weight: 300; | |
| font-style: normal; | |
| font-stretch: normal; | |
| line-height: 1.33; | |
| letter-spacing: 0.2px; | |
| text-align: left; | |
| color: var(--white); | |
| } | |
| .footer { | |
| min-width: 900px; | |
| background-color: rgba(255, 255, 255, 0.84); | |
| bottom: 0; | |
| border-top: 3px solid var(--neon-blue); | |
| display: flex; | |
| padding-bottom: 20px; | |
| } | |
| .scroll { | |
| width: 100%; | |
| overflow: scroll; | |
| position: fixed; | |
| bottom: 0; | |
| } | |
| .column-1{ | |
| width: 43%; | |
| display: grid; | |
| } | |
| h3{ | |
| height: 17%; | |
| font-family: 'Raleway', sans-serif; | |
| font-size: 2em; | |
| font-weight: normal; | |
| font-style: normal; | |
| font-stretch: normal; | |
| line-height: 0.94; | |
| letter-spacing: -0.8px; | |
| text-align: left; | |
| color: #0d162c; | |
| margin: 0 0 5% 0; | |
| } | |
| /* | |
| .column-2{ | |
| width: 55%; | |
| } */ | |
| .custom-select { | |
| font-family: 'Raleway', sans-serif; | |
| width: 500px; | |
| height: 33%; | |
| display: flex; | |
| justify-content: space-between; | |
| } | |
| .select-country { | |
| width: 25%; | |
| height: 100%; | |
| border-radius: 20px 0px 0px 20px; | |
| -webkit-appearance: none !important; | |
| background: url("../img/down-arrow.png") no-repeat 90% center; | |
| cursor: pointer; | |
| letter-spacing: 0.1px; | |
| color: #2d2d2d; | |
| background-color: var(--white) ; | |
| border: none; | |
| padding: 0px 6px 0px 13px; | |
| background-size: 13px 8px; | |
| font-family: 'Raleway', sans-serif; | |
| font-size: 14.3px; | |
| font-weight: normal; | |
| font-style: normal; | |
| font-stretch: normal; | |
| } | |
| .select-search { | |
| width: 74%; | |
| height: 100%; | |
| border-radius: 0px 20px 20px 0px; | |
| -webkit-appearance: none !important; | |
| background: url("../img/search-black-96.png") no-repeat 3% center; | |
| cursor: pointer; | |
| letter-spacing: 0.1px; | |
| color: #2d2d2d; | |
| background-color: var(--white) ; | |
| border: none; | |
| padding: 0px 6px 0px 30px; | |
| background-size: 16px 15px; | |
| font-family: 'Raleway', sans-serif; | |
| font-size: 11.2px; | |
| font-weight: normal; | |
| font-style: normal; | |
| font-stretch: normal; | |
| display: inline-block; | |
| } | |
| .slider-search-container { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-top: 4%; | |
| } | |
| .slider-container{ | |
| width: 70%; | |
| } | |
| .slider { | |
| -webkit-appearance: none; | |
| position: absolute; | |
| margin: 0; | |
| width: 100%; | |
| height: 5px; | |
| border-radius: 5px; | |
| background: none; | |
| outline: none; | |
| top: 0; | |
| } | |
| .slider::-webkit-slider-thumb { | |
| -webkit-appearance: none; | |
| appearance: none; | |
| width: 16px; | |
| height: 16px; | |
| border-radius: 50%; | |
| background: transparent; | |
| border: 4px solid var(--neon-blue); | |
| cursor: pointer; | |
| } | |
| .slider::-moz-range-thumb { | |
| width: 16px; | |
| height: 16px; | |
| border-radius: 50%; | |
| background: transparent; | |
| border: 4px solid var(--neon-blue); | |
| cursor: pointer; | |
| } | |
| .slider-box { | |
| background: linear-gradient(to right, #34E3FD, #2696F1); | |
| height: 5px; | |
| position: relative; | |
| border-radius: 5px; | |
| } | |
| .slider-right { | |
| background: white; | |
| height: 5px; | |
| border-radius: 0 5px 5px 0; | |
| width: 50%; | |
| right: 0; | |
| position: absolute; | |
| } | |
| .output-container{ | |
| display: flex; | |
| justify-content: space-between; | |
| font-family: 'Lato', sans-serif; | |
| font-size: 11.2px; | |
| font-weight: normal; | |
| font-style: italic; | |
| font-stretch: normal; | |
| line-height: 0.88; | |
| letter-spacing: 0.1px; | |
| margin-top: 2%; | |
| } | |
| .search-container{ | |
| width: 22.5%; | |
| text-align: center; | |
| font-size: 17px; | |
| font-weight: 300; | |
| font-style: normal; | |
| font-stretch: normal; | |
| line-height: 0.60; | |
| letter-spacing: 0.4px; | |
| text-align: center; | |
| color: var(--white); | |
| background-image: url("../img/search-button.png"); | |
| background-position: center ; | |
| background-size: cover; | |
| background-repeat: no-repeat; | |
| background-size: auto; | |
| } | |
| .search-container span{ | |
| padding-top: 5.5%; | |
| display: inline-block; | |
| vertical-align: middle; | |
| line-height: normal; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment