refactor new link styles to mixin
This commit is contained in:
parent
cd82f30f8c
commit
46836812f4
|
@ -1,13 +1,15 @@
|
||||||
.landing-pro
|
.landing-pro
|
||||||
|
|
||||||
p a
|
@mixin linkStyle
|
||||||
text-decoration: none
|
a
|
||||||
border-bottom: 1px solid #bfc0c1
|
text-decoration: none
|
||||||
padding-bottom: 0.1em
|
border-bottom: 1px solid #bfc0c1
|
||||||
&:hover,
|
padding-bottom: 0.1em
|
||||||
&:active
|
&:hover,
|
||||||
color: #303030
|
&:active
|
||||||
border-color: transparent
|
color: #303030
|
||||||
|
text-decoration: none
|
||||||
|
border-color: transparent
|
||||||
|
|
||||||
.wrapper
|
.wrapper
|
||||||
width: 100%
|
width: 100%
|
||||||
|
@ -55,6 +57,7 @@
|
||||||
line-height: 1.55
|
line-height: 1.55
|
||||||
|
|
||||||
.text-small
|
.text-small
|
||||||
|
@include linkStyle
|
||||||
margin: 0 0 2.5em
|
margin: 0 0 2.5em
|
||||||
|
|
||||||
.landing-button
|
.landing-button
|
||||||
|
@ -186,7 +189,7 @@
|
||||||
margin-top: 5em
|
margin-top: 5em
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
flex-flow: row wrap
|
flex-flow: row wrap
|
||||||
margin-top: 0
|
margin-top: 1em
|
||||||
li
|
li
|
||||||
flex: 0 0 15em
|
flex: 0 0 15em
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<section class="section--hero section--grey">
|
<section class="section--hero section--grey">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<div class="section-text">
|
<div class="section-text">
|
||||||
<h1 class="h1">Builds apps <br class="br-small"> with confidence</h1>
|
<h1 class="h1">Build apps <br class="br-small"> with confidence</h1>
|
||||||
<p class="text-big">Focus on writing code. Let Travis CI take care<br class="br-small"> of running your tests and deploying your apps.</p>
|
<p class="text-big">Focus on writing code. Let Travis CI take care<br class="br-small"> of running your tests and deploying your apps.</p>
|
||||||
<a href="https://travis-ci.com/signin" class="hero-button" title="Start your free trial">Start your free trial</a>
|
<a href="https://travis-ci.com/signin" class="hero-button" title="Start your free trial">Start your free trial</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user