Skip to content

Instantly share code, notes, and snippets.

@embarq
Created August 28, 2017 23:08
Show Gist options
  • Select an option

  • Save embarq/30134e50bd648a59f2bff9f03debcde0 to your computer and use it in GitHub Desktop.

Select an option

Save embarq/30134e50bd648a59f2bff9f03debcde0 to your computer and use it in GitHub Desktop.
*,blockquote,body,dd,div,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,html,input,label,li,ol,p,pre,td,th,ul {
margin: 0;
padding: 0
}
table {
border-collapse: collapse;
border-spacing: 0
}
fieldset,img {
border: 0
}
address,caption,cite,code,dfn,em,strong,th,var {
font-style: normal;
font-weight: 400
}
li,ol,ul {
list-style: none
}
caption,th {
text-align: left
}
h1,h2,h3,h4,h5,h6 {
font-size: 100%
}
q:after,q:before {
content: ''
}
em {
font-style: italic
}
a img {
border: none
}
*,:after,:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
body {
font-family: Roboto,sans-serif;
font-size: 13px;
color: #333;
-webkit-font-smoothing: antialiased;
background: #ddd
}
#cta li a,.close,.more-themes {
font-family: Roboto,sans-serif;
border-radius: 4px;
text-align: center
}
a {
text-decoration: none
}
#cta li a,.buy-now,.close,.more-themes {
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
-ms-transition: all .25s ease;
-o-transition: all .25s ease;
transition: all .25s ease
}
#navigation {
z-index: 1000;
position: fixed;
width: 100%;
padding: 0;
height: 50px;
background: #1f57a0;
text-align: center
}
#preview {
top: 0;
left: 0;
width: 100%;
position: relative;
z-index: 10;
transition: all .3s ease
}
#iframe {
display: block;
width: 100%;
margin: 0 auto;
padding-top: 50px;
-webkit-transform: translate3d(0,0,0);
-webkit-box-shadow: 0 0 10px rgba(0,0,0,.25);
-moz-box-shadow: 0 0 10px rgba(0,0,0,.25);
box-shadow: 0 0 10px rgba(0,0,0,.25)
}
.logo {
margin: 9px 20px 0 17px
}
.close,.more-themes {
float: left;
color: rgba(255,255,255,.5);
font-size: 12px;
top: 10px;
position: relative;
padding: 7px 15px;
min-width: 120px;
margin-right: 10px
}
#cta,.mks-modal {
position: absolute
}
.close:hover,.more-themes:hover {
color: rgba(255,255,255,1)
}
.buy-now i,.close i,.more-themes i,.pre-sale i {
margin-right: 6px
}
#devices {
display: none
}
#devices a {
padding: 14px 5px;
font-size: 18px;
color: rgba(255,255,255,.2)
}
#devices a.active,#devices a:hover {
color: #FFF
}
#cta li a {
height: 33px;
width: 180px;
font-size: 14px;
top: 9px;
padding: 9px 0;
line-height: 16px;
display: block
}
#cta {
text-align: center;
max-width: 700px;
margin: 8px auto 0;
-webkit-transform: translate(-50%,0);
-ms-transform: translate(-50%,0);
transform: translate(-50%,0);
left: 50%
}
#cta li {
margin: 0 2px
}
.buy-now {
background: #ffd635;
color: #3b0000
}
.buy-now:hover {
background: #ffcd59
}
.pre-sale {
border: 1px solid rgba(255,255,255,.2);
color: rgba(255,255,255,.5)
}
#cta li a.pre-sale {
padding-top: 8px
}
.pre-sale:hover {
border: 1px solid rgba(255,255,255,1);
color: rgba(255,255,255,1)
}
.close {
float: right
}
#devices li {
float: left
}
#navigation .logo img {
width: 72px;
height: 30px
}
@media(max-width: 1118px) {
#cta li a {
width:155px
}
}
@media(max-width: 1024px) {
.content-wrapper {
width:95%;
text-align: center
}
.item-txt {
padding: 0 30px;
height: auto
}
.mks-modal .item-buttons {
padding: 0 10px
}
.modal-head {
width: auto
}
.mks-close-modal {
top: 10px;
right: 20px
}
.pre-sale {
display: none
}
}
@media(min-width: 768px) and (max-width:979px) {
.modal-subtitle {
max-width:600px;
margin: 0 auto
}
.mks-close-modal {
right: 20px
}
}
@media(max-width: 767px) {
.content-wrapper {
max-width:505px
}
.modal-head {
width: auto
}
#cta li a.pre-sale {
display: none
}
#cta li a {
padding: 9px 15px
}
}
@media(max-width: 680px) {
#cta li a span,#cta li a.pre-sale,.close span,.logo {
display:none
}
.more-themes {
margin-left: 10px
}
.buy-now {
width: 150px
}
.mks-close-modal {
right: 20px
}
.modal-head {
max-width: 440px;
margin: 0 auto 25px
}
#more-themes {
padding-top: 20px
}
}
@media(max-width: 460px) {
.buy-now {
width:96px;
margin-left: 10px;
padding: 7px 0;
height: 30px;
top: 11px
}
.close,.more-themes {
top: 11px;
min-width: 90px;
padding: 7px;
max-width: 90px
}
.close i,.more-themes i {
display: none
}
.modal-title {
font-size: 30px;
line-height: 36px
}
.modal-head {
margin: 0 auto 25px
}
.modal-subtitle {
font-size: 18px;
line-height: 24px
}
.mks-close-modal {
top: 12px;
left: initial;
right: initial;
margin-left: 0
}
#more-themes {
text-align: center;
padding-top: 40px
}
#cta li a {
width: 110px
}
#cta {
float: left
}
}
#open-try {
background: #4BBB5A;
border: 0;
color: #fff
}
#open-try:hover {
background: #69D077
}
.mks-modal {
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin-top: 0;
padding-top: 40px;
overflow-y: scroll;
opacity: 0;
background: #eee;
-webkit-transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-ms-transition: all .25s ease-in-out;
-o-transition: all .25s ease-in-out;
transition: all .25s ease-in-out;
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
transform: translateY(0)
}
body.modal-open {
position: fixed;
overflow: hidden;
width: 100%
}
.behind,.item-image,.item-wrap {
position: relative
}
body.modal-open .mks-modal {
-webkit-overflow-scrolling: touch
}
.mks-modal.active {
z-index: 99999;
opacity: 1
}
.content-wrapper {
clear: both;
margin: 0 auto;
max-width: 1600px
}
.item-wrap {
display: inline-block;
width: 31%;
margin: 0 1% 40px;
border-radius: 4px;
background: #FFF;
box-shadow: 0 0 7px rgba(0,0,0,.1)
}
.item-image {
display: block;
width: 100%;
margin-bottom: 20px
}
.item-image img {
width: 100%
}
.item-wrap img {
border-radius: 4px 4px 0 0
}
.mks-see-more {
display: block;
z-index: 10;
position: absolute;
top: -50%;
left: 50%;
margin: -14px 0 0 -63px;
padding: 8px 20px;
border: 1px solid #FFF;
border-radius: 4px;
text-align: center;
font-size: 16px;
color: #FFF;
opacity: 0;
background: 0 0;
-webkit-transition: all .2s ease;
-moz-transition: all .2s ease;
-ms-transition: all .2s ease;
-o-transition: all .2s ease;
transition: all .2s ease
}
.item-image:hover .mks-see-more {
top: 50%;
opacity: 1
}
.mks-see-more:hover {
border: 1px solid #fff;
color: #FFF;
background: rgba(255,255,255,.1)
}
.item-txt h3,.mks-modal p {
font-weight: 300;
color: #333
}
.item-image:hover:after {
opacity: 1
}
.newsletter-box .item-image:after {
opacity: 0!important
}
.item-txt {
padding: 0 50px;
text-align: center
}
.item-txt h3 {
margin: 0 0 10px;
font-size: 24px;
font-family: 'Varela Round',sans-serif
}
.mks-button,.mks-modal p {
font-family: Roboto,sans-serif
}
.mks-modal p {
margin-bottom: 15px;
font-size: 15px;
line-height: 22px
}
.item-buttons {
margin: 27px 0;
padding: 0 20px;
text-align: center
}
.mks-pill .mks-button-middle {
text-decoration: none;
font-weight: 400
}
.mks-pill .mks-pill-left {
float: left;
width: 50%;
border-radius: 5px 0 0 5px
}
.mks-pill .mks-pill-right {
float: left;
width: 50%;
border-radius: 0 5px 5px 0;
border-left: none
}
.mks-button {
-webkit-transition: all .15s ease-in-out;
-moz-transition: all .15s ease-in-out;
-ms-transition: all .15s ease-in-out;
-o-transition: all .15s ease-in-out;
transition: all .15s ease-in-out;
text-decoration: none!important;
font-weight: 400;
cursor: pointer;
display: inline-block;
-webkit-appearance: none;
min-width: 200px;
border: none;
border-radius: 4px;
text-align: center;
font-size: 14px
}
.modal-subtitle,.modal-title {
font-family: 'Varela Round',sans-serif
}
.mks-button-orange {
color: #7b0404;
background: #f9cb44
}
.mks-button-middle,.submit {
padding: 12px 30px;
text-decoration: none;
font-weight: 400
}
.mks-button-orange:hover {
background: #f9d862;
color: #7b0404
}
.mks-button-gray {
color: #303030!important;
background: #ddd
}
.mks-close-modal {
position: absolute;
top: 15px;
right: 20px;
font-size: 20px;
color: #333
}
.modal-head {
width: 800px;
margin: 0 auto 40px;
text-align: center;
color: #333
}
.modal-title {
margin-bottom: 15px;
font-size: 36px;
font-weight: 300;
line-height: 42px
}
.modal-subtitle {
font-size: 19px;
font-weight: 300;
line-height: 27px
}
.mks-modal .row-eq-height {
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start
}
.ribbon {
z-index: 1;
position: absolute;
top: 18px;
right: 17px;
width: 131px;
height: 130px
}
.ribbon.popular {
background: url(../img/popular_ribbon.png) no-repeat
}
.ribbon.latest {
background: url(../img/latest_ribbon.png) no-repeat
}
#try-form {
text-align: center
}
#try-form .mks-button {
min-width: 100px
}
.try-email {
height: 40px;
width: 300px;
border-radius: 4px;
border: 1px solid rgba(0,0,0,.2);
padding: 10px;
color: #444;
font-size: 16px
}
.try-response {
opacity: 0;
margin-top: 20px;
font-size: 14px;
font-weight: 300;
text-align: center;
cursor: pointer
}
.try-steps {
text-align: center;
margin: 0 0 40px
}
.try-disclaimer {
clear: both;
display: block;
margin-top: 10px;
font-size: 12px;
color: #777
}
@media only screen and (max-width: 1180px) {
.mks-modal .mks-content-wrapper {
max-width:960px
}
.mks-modal .item-wrap {
width: 48%;
margin: 0 1% 20px
}
.mks-modal .modal-head {
width: 100%
}
}
@media only screen and (max-width: 710px) {
.mks-modal .mks-content-wrapper {
max-width:90%;
max-width: 500px
}
.mks-modal .item-wrap {
width: 100%;
margin: 0 0 20px
}
.mks-modal .modal-head {
width: 100%
}
.mks-modal .modal-title {
font-size: 26px
}
.mks-modal .item-buttons {
padding: 0
}
}
@media only screen and (max-width: 480px) {
.modal-subtitle {
font-size:15px;
line-height: 22px
}
.item-txt {
padding: 0 10px
}
}
.rating {
margin: 10px auto 20px
}
.rating-stars {
color: #f9cb44;
display: block;
font-size: 13px;
margin-bottom: 2px
}
.rating-stars i {
padding: 0 2px
}
.rating-label {
color: #aaa;
text-transform: uppercase;
font-size: 10px
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment