restyle projects page
This commit is contained in:
parent
8c9370f989
commit
8dc1ce1984
2 changed files with 8 additions and 19 deletions
|
@ -1,4 +1,3 @@
|
||||||
/* @group Bootstrap Panels */
|
|
||||||
.panel-green {
|
.panel-green {
|
||||||
@include panel-variant(#139F5B, $white, #139F5B, #139F5B);
|
@include panel-variant(#139F5B, $white, #139F5B, #139F5B);
|
||||||
}
|
}
|
||||||
|
@ -6,10 +5,7 @@
|
||||||
.panel-blue {
|
.panel-blue {
|
||||||
@include panel-variant(#337AB7, $white, #337AB7, #337AB7);
|
@include panel-variant(#337AB7, $white, #337AB7, #337AB7);
|
||||||
}
|
}
|
||||||
/* @end Bootstrap Panels */
|
|
||||||
|
|
||||||
|
|
||||||
/* @group Bootstrap buttons */
|
|
||||||
.btn {
|
.btn {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
@ -17,18 +13,12 @@
|
||||||
.btn.btn-github {
|
.btn.btn-github {
|
||||||
@include button-variant(#333, #F5F5F5, #D8D8D8);
|
@include button-variant(#333, #F5F5F5, #D8D8D8);
|
||||||
}
|
}
|
||||||
/* @end Bootstrap buttons */
|
|
||||||
|
|
||||||
|
|
||||||
/* @group Pygments */
|
|
||||||
.highlight > pre {
|
.highlight > pre {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
}
|
}
|
||||||
/* @end Pygments */
|
|
||||||
|
|
||||||
|
|
||||||
/* @group backgrounds */
|
|
||||||
.btn-primary-dark {
|
.btn-primary-dark {
|
||||||
@include button-variant($white, $brand-orange-dark, $brand-orange-dark);
|
@include button-variant($white, $brand-orange-dark, $brand-orange-dark);
|
||||||
}
|
}
|
||||||
|
@ -38,4 +28,7 @@
|
||||||
color: $brand-grey-dark;
|
color: $brand-grey-dark;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* @end backgrounds */
|
|
||||||
|
section {
|
||||||
|
padding: 75px 0;
|
||||||
|
}
|
||||||
|
|
|
@ -6,13 +6,9 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<section class="bg-primary">
|
<section class="bg-primary">
|
||||||
<div class="container">
|
<div class="container text-center text-uppercase">
|
||||||
<div class="row">
|
<h1 class="section-heading uppercase">{{ article.title }}</h1>
|
||||||
<div class="col-lg-8 col-lg-offset-2 text-center">
|
<hr class="light">
|
||||||
<h1 class="section-heading">{{ article.title }}</h1>
|
|
||||||
<hr class="light">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
|
@ -26,7 +22,7 @@
|
||||||
<div class="container text-center">
|
<div class="container text-center">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
{% if article.download_link %}
|
{% if article.download_link %}
|
||||||
<a class="btn btn-primary btn-xl" href="{{ article.download_link }}" download="Attack-on-blocks.zip">Download {{ article.title }}</a>
|
<a class="btn btn-primary btn-xl" href="{{ article.download_link }}">Download {{ article.title }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if article.repo %}
|
{% if article.repo %}
|
||||||
<a class="btn btn-github btn-xl" href="{{ article.repo }}"><i class="fa fa-github fa-lg"></i> View on Github</a>
|
<a class="btn btn-github btn-xl" href="{{ article.repo }}"><i class="fa fa-github fa-lg"></i> View on Github</a>
|
||||||
|
|
Reference in a new issue