Skip to content

Commit

Permalink
TASK: m_pacenote-driver -> basic file setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ParadoxMike committed Jan 8, 2020
1 parent c88a309 commit 60b7cb4
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 0 deletions.
28 changes: 28 additions & 0 deletions assets/css/style.css

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

23 changes: 23 additions & 0 deletions src/scss/modules/m_pacenote-driver.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.m_pacenote-driver {
background-color: $c-black;
height: auto;
width: 100%;
position: relative;

@include media-breakpoint-up(md) {
height: 100%;
}

&__info-container {
margin: 0 auto;
width: 100%;

@include media-breakpoint-up(md) {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 60%;
}
}
}
1 change: 1 addition & 0 deletions src/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ STYLESHEET: STYLE
@import "modules/m_image-text-left";
@import "modules/m_image-text-right";
@import "modules/m_demo";
@import "modules/m_pacenote-driver";

// Navigation
@import "navigation/n_site";
Expand Down
3 changes: 3 additions & 0 deletions templates/base.twig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<section class="section">
{% include 'modules/m_demo.twig' %}
</section>
<section class="section">
{% include 'modules/m_pacenote-driver.twig' %}
</section>
{% endblock %}

{% block footer %}
Expand Down
15 changes: 15 additions & 0 deletions templates/modules/m_pacenote-driver.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{# USES
{% include 'modules/m_pacenote-driver.twig' %}
#}

<div class="m_pacenote-driver">
<div class="m_pacenote-driver__info-container">
<div class="row mx-0">
<div class="col-md-6 bg-c-white d-none d-md-block">
<h1 class="h1">iphone here</h1>
</div>
<div class="col-12 col-md-6 py-300 py-sm-400 px-150 px-sm-250 p-md-0">
</div>
</div>
</div>
</div>

0 comments on commit 60b7cb4

Please sign in to comment.