Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
Change px to em
Browse files Browse the repository at this point in the history
  • Loading branch information
tucq88 committed Oct 14, 2017
1 parent a09d291 commit 49ebfd0
Show file tree
Hide file tree
Showing 5 changed files with 150 additions and 53 deletions.
54 changes: 27 additions & 27 deletions public/css/app.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/css/app.css.map

Large diffs are not rendered by default.

48 changes: 26 additions & 22 deletions resources/assets/sass/app.scss
Expand Up @@ -7,24 +7,28 @@ $body-bg: #F5F6F7;
body {
color: #50636C;
font-weight: 300;
line-height: 30px;
line-height: 1.5;
}

p {
margin-bottom: 60px;
margin-bottom: 3em;
}

img {
max-width: 100%;
}

header {
.header, .footer {
background: #fff;
}

.footer {
padding: 1em 0;
}

.ribbon {
background: linear-gradient(-90deg, #D7516A 0%, #479CC3 100%);
height: 12px;
height: .6em;
}

.navbar-head {
Expand All @@ -34,28 +38,28 @@ header {

.navbar-brand {
height: auto;
margin: 50px 0;
margin: 2.5em 0;
padding: 0;
}

.navbar-buttons {
text-align: right;
}
.navbar-buttons .btn {
margin: 50px 0;
margin: 2.5em 0;
}
}

.main-content {
padding: 4rem 0;
padding: 2em 0;
}

.welcome-heading {
color: #1C313B;
font-size: 36px;
font-size: 1.8em;
font-weight: 400;
line-height: 44px;
margin-bottom: 60px;
line-height: 1.5;
margin-bottom: 2em;
}

.sponsors-label {
Expand All @@ -66,41 +70,41 @@ header {
text-transform: uppercase;
&:after {
background: #50636C;
bottom: 8px;
bottom: .5em;
content: '';
display: block;
height: 2px;
height: .1em;
position: absolute;
right: -55px;
width: 50px;
right: -2.75em;
width: 2.5em;
}
}

.sponsor {
display: inline-block;
margin: 20px 60px 20px 0;
margin: 1em 3em 1em 0;
img {
max-width: 25rem
max-width: 12em;
}
}

.giscus-logo {
clear: both;
max-width: 40rem;
max-width: 7.5em;

@media only screen and (max-width: 600px) {
width: 75%;
}
}

.btn {
border: 2px solid #CACED1;
border-radius: 8px;
font-size: 20px;
padding: 10px 30px;
border: .1em solid #CACED1;
border-radius: .4em;
font-size: 1em;
padding: .5em 1.5em;

.fa {
font-size: 25px;
font-size: 1.25em;
}
}

Expand Down
15 changes: 13 additions & 2 deletions resources/views/layouts/app.blade.php
Expand Up @@ -32,11 +32,22 @@
</div>

</header>
<div class="container">

<main class="container">
<div class="main-content">
@yield('content')
</div>
</div>
</main>

<footer class="footer">
<div class="container-fluid">
<div class="row col-md-8 col-md-push-2 text-center small">
Giscus' source is on GitHub: <a href="https://github.com/tightenco/giscus">tightenco/giscus</a>.<br>
By <a href="http://mattstauffer.co/">Matt Stauffer</a>, for a <a href="https://speakerdeck.com/mattstauffer/leveraging-laravel-launching-side-projects-quickly-with-laravel">talk at Laracon 2015</a>, powered by <a href="http://www.laravel.com/">Laravel</a>.<br>
Logo by <a href="https://twitter.com/Caneco">Vitor Caneco</a>, with a picture of a <a href="https://en.wikipedia.org/wiki/Discus_(fish)">Discus</a> fish
</div>
</div>
</footer>

@yield('footerScripts')

Expand Down

0 comments on commit 49ebfd0

Please sign in to comment.