Skip to content

Instantly share code, notes, and snippets.

@Stuyk
Last active May 13, 2026 20:45
Show Gist options
  • Select an option

  • Save Stuyk/15df2c5b06ae54d69697e9db14d9695a to your computer and use it in GitHub Desktop.

Select an option

Save Stuyk/15df2c5b06ae54d69697e9db14d9695a to your computer and use it in GitHub Desktop.
test
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500&display=swap");
html {
font-size: 63.5%;
}
body {
font-size: 31px;
font-weight: 500;
font-family: "Raleway", Helvetica, sans-serif;
line-height: 1.53;
-webkit-font-feature-settings: "lnum" 1;
-moz-font-feature-settings: "lnum" 1;
font-feature-settings: "lnum" 1;
}
a {
color: #990000;
}
a:hover {
color: #c1be89;
}
.shop-left-menu a,
.prod-name a,
#authStatus,
body,
.ui-widget-content,
#tabs-product .ui-widget-content,
.req,
.red {
color: #600;
}
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.4;
font-family: Raleway;
color: #600;
}
.btn {
font-family: Raleway, sans-serif;
font-size: 18px;
line-height: 1;
text-transform: none;
background: #600;
color: #fff;
border-radius: 4px;
}
.btn:hover {
background: #800;
color: #fff;
}
#pageContent {
font-size: 18px;
max-width: 100%;
}
#authStatus #viewCartPlaceHolder,
.authstatus #authPlaceHolder,
#authStatus a {
}
#authStatus a:hover {
text-decoration: none;
}
.ui-widget-header,
.activeCart .cartHeader,
.shop-left-menu .menu-header,
#accountContent .header,
#checkout .header,
#basket .header,
.bootstrapWizard li.complete .step,
.bootstrapWizard li.active .step,
.bootstrapWizard li.active.complete .step,
#tabs-product ul a,
#tabs-product .ui-tabs-nav a {
background: #600;
}
#tabs-product .tabs-container a.btn {
color: #fff;
}
/*#tabs-product .tabs-container a:hover{
color:#ccc;
text-decoration:underline;
}*/
.txt,
.txtbig,
.ddl,
.select_box select,
input[type="text"],
input[type="password"],
select,
textarea {
color: #482d67;
}
/* header */
.cc-container {
font-size: 16px;
}
.nav-wrap {
background-color: #000;
}
.cst-container {
width: 95%;
max-width: 1170px;
margin: 0 auto;
}
.logo img {
max-width: 525px;
width: 100%;
transition: width 0.3s ease;
}
.hd-background {
background-image: url(images/banner.jpg);
background-repeat: no-repeat;
background-size: 100% 135%;
background-position: left bottom;
height: 300px;
max-height: 300px;
}
.hd-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.main-nav {
/* margin-bottom: -1px; */
}
.main-nav li {
display: inline-block;
line-height: 1em;
margin-left: 2rem;
}
.main-nav li a {
font-size: 24px;
color: #fff;
font-weight: 500;
transition: 0.3s all ease;
}
.main-nav li a:hover,
.main-nav li a.selected {
color: #800;
}
.logo {
width: 35%;
}
.site-nav {
width: 60%;
}
.site-nav {
text-align: right;
}
@media only screen and (min-width: 851px) {
.hd-background.moving .nav-wrap {
background-color: #000;
top: 0;
padding: 2rem 0;
}
.nav-wrap {
position: relative;
top: 4.3rem;
left: 0;
width: 100%;
z-index: 101;
transition: all 0.3s ease;
}
.hd-background.moving {
background-size: cover;
padding: 2rem 0;
}
.hd-background.moving .logo img {
width: 66%;
}
.hd-background.moving .main-nav li a {
font-size: 22px;
}
.hd-background .main-nav li:first-child {
margin-left: 0;
}
.main-nav {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
}
}
/* footer */
#footer {
font-size: 16px;
text-align: center;
padding: 9rem 0 10rem;
background-image: url(images/footer-bg.jpg);
background-repeat: no-repeat;
background-size: cover;
color: #fff;
}
#footer .cst-container {
max-width: 640px;
}
.ft-nav {
line-height: 1;
margin-bottom: 2rem;
padding-bottom: 2rem;
border-bottom: 1px solid #95a680;
text-align: center;
}
.ft-nav a {
margin-left: 2rem;
font-size: 18px;
line-height: 17px;
display: inline-block;
color: #fff;
}
p.copyright {
font-size: 15px;
letter-spacing: 0.8px;
margin-bottom: 1em;
}
@media only screen and (max-width: 1240px) {
body {
font-size: 27px;
}
.logo img {
max-width: 475px;
}
}
@media only screen and (max-width: 1140px) {
.logo img {
max-width: 375px;
}
body {
font-size: 25px;
}
}
@media only screen and (max-width: 1024px) {
body {
font-size: 22px;
}
.hd-background {
padding: 4.2rem 0 3.5rem;
}
}
@media only screen and (max-width: 960px) {
html {
font-size: 50%;
}
body {
font-size: 20px;
}
.logo img {
max-width: 320px;
}
}
@media only screen and (max-width: 850px) {
#authStatus {
margin-top: 0;
}
.hd-background .cst-container {
width: 100%;
}
.hd-background {
padding: 3.3rem 0;
}
.logo {
width: 60%;
margin-left: 2.5%;
margin-right: 1%;
}
.site-nav {
width: 30%;
margin: 0 2.5% 0 0;
}
.hd-content {
align-items: center;
}
body {
font-size: 18px;
}
.hd-background {
position: relative;
}
body.open {
overflow: hidden;
}
nav.nav {
background-image: url(images/mobile-bg.png);
background-repeat: no-repeat;
background-size: cover;
box-shadow: -5px 0 10px rgb(0 0 0 / 30%);
z-index: 101;
position: fixed;
top: 0;
right: 0;
padding: 0 0 35px 30px;
transform: translateX(100%);
transition: transform 0.3s ease;
}
nav.nav.open {
transform: translateX(0);
}
.main-nav {
text-align: left;
padding-right: 130px;
}
.main-nav li {
display: block;
margin: 3px 0;
}
.main-nav li a {
line-height: 1;
border-bottom: 1px solid transparent;
display: block;
padding-bottom: 5px;
}
.close-menu {
cursor: pointer;
display: block;
margin: 15px 15px 20px auto;
background-image: url(images/close-menu.png);
background-size: cover;
background-repeat: no-repeat;
background-position: 0 0;
width: 19px;
height: 19px;
}
.mobile-menu {
cursor: pointer;
display: block;
background-image: url(images/mobile_menu.png);
background-repeat: no-repeat;
background-size: cover;
background-position: 0 0;
width: 36px;
height: 26px;
margin-left: auto;
}
}
@media only screen and (max-width: 768px) {
.mobile-menu {
width: 31px;
height: 24px;
}
.hd-background {
padding: 20px 0;
}
html {
font-size: 37.5%;
}
body {
font-size: 17px;
}
.logo img {
max-width: 300px;
}
.ft-nav a {
font-size: 16px;
}
p.copyright {
font-size: 13px;
}
}
@media only screen and (max-width: 560px) {
.hd-background {
height: 100px;
}
body {
font-size: 16px;
}
}
@media only screen and (max-width: 480px) {
.logo {
width: 78%;
}
.site-nav {
width: 14%;
}
html {
font-size: 25%;
}
body {
font-size: 15px;
}
.ft-nav {
padding-bottom: 10px;
margin-bottom: 20px;
}
.ft-nav a {
display: block;
margin-bottom: 11px;
}
}
@media only screen and (max-width: 360px) {
body {
font-size: 14px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment