Skip to content

Commit 0b85c88

Browse files
committed
change demo design from 11straps.com website
1 parent 93669e3 commit 0b85c88

File tree

8 files changed

+20
-38
lines changed

8 files changed

+20
-38
lines changed

src/_includes/layouts/blog.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% include 'snippets/head.njk' %}
66
</head>
77

8-
<body class="bg-dark text-light">
8+
<body>
99

1010
{% include 'snippets/navbar.njk' %}
1111

src/_includes/layouts/default.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% include 'snippets/head.njk' %}
66
</head>
77

8-
<body class="bg-dark text-light">
8+
<body>
99

1010
{% include 'snippets/navbar.njk' %}
1111

src/_includes/layouts/home.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% include 'snippets/head.njk' %}
66
</head>
77

8-
<body class="bg-dark text-light">
8+
<body>
99

1010
{% include 'snippets/navbar.njk' %}
1111

src/_includes/layouts/post.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% include 'snippets/head.njk' %}
66
</head>
77

8-
<body class="bg-dark text-light">
8+
<body>
99

1010
{% include 'snippets/navbar.njk' %}
1111

src/_includes/snippets/navbar.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<nav class="navbar navbar-expand-lg navbar-dark pt-0">
1+
<nav class="navbar navbar-expand-lg navbar-light pt-0">
22
<div class="container">
33
<a class="navbar-brand mb-0 py-4 px-3 pt-5 text-center text-white bg-primary" href="{{ '/' | url }}">11straps</a>
44
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">

src/index.njk

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,45 @@ layout: layouts/home.njk
33
---
44

55
<div class="container my-vh-6">
6-
<div class="row">
6+
<div class="row d-flex justify-content-center">
77

8-
<div class="col-12 col-lg-6 my-4">
9-
<h1 class="display-3 text-white">
10-
<strong>11straps</strong> is a static website boilerplate.
8+
<div class="col-12 col-lg-8 my-4 text-center">
9+
<h1 class="display-1">
10+
Welcome to the <strong>11straps</strong> demo website!
1111
</h1>
12-
<p class="lead mb-4 text-light">It combines the static website generator Eleventy & the CSS framework Bootstrap 5.</p>
12+
<p class="lead mb-4">It combines the static website generator Eleventy & the CSS framework Bootstrap 5.</p>
1313
<a class="btn btn-primary px-5 py-3 me-4 position-relative" href="https://gumroad.com/l/WPeVF" target="_blank">Download <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-warning">v0.3<span class="visually-hidden">latest version</span></span></a>
14-
<a class="link-fancy py-2" href="https://github.com/holger1411/11straps">Check it out on Github <img src="img/arrow-right.svg" alt="arrow pointing to the right icon" width="24" height="24"/></a>
14+
<a class="link-fancy py-2" href="https://github.com/holger1411/11straps">Check it out on Github </a>
1515
</div>
1616
</div>
1717
<!--<div class="col col-12 col-lg-8 mt-5">
1818
<p class="lead text-light">{{ frontpage.text }}</p>
1919
</div>-->
2020
</div>
2121

22-
<div class="wrapper text-white position-relative my-vh-5 bg-primary">
23-
<div class="bg-gray900 w-50 h-100 position-absolute d-none d-lg-block"></div>
22+
<div class="wrapper position-relative my-vh-5 bg-dark">
23+
<div class="bg-primary w-50 h-100 position-absolute d-none d-lg-block"></div>
2424
<div class="container position-relative py-vh-4">
25-
<div class="row justify-content-between d-flex align-items-stretch border-top py-vh-2">
26-
<div class="col-12 col-lg-5">
25+
<div class="row justify-content-between d-flex align-items-stretch py-vh-2">
26+
<div class="col-12 col-lg-5 text-white">
2727
<img src="img/coffee-hot.svg" class="mb-3" alt="a cup of hot coffee icone" width="24" height="24"/>
2828
<h2 class="h2">Open source & free</h2>
2929
<p>11straps is an open source project released under the MIT license. It is free for everyone. You are welcome to test, contribute and improve it or use it even for commercial projects.</p>
3030
</div>
3131

32-
<div class="col-12 col-lg-5 py-vh-1">
32+
<div class="col-12 col-lg-5 py-vh-1 text-white">
3333
<img src="img/code-2.svg" class="mb-3" alt="a code icon" width="24" height="24"/>
3434
<h2>Eleventy + Bootstrap = 💪</h2>
3535
<p>11straps come´s with the static site generator Eleventy and the CSS framework Bootstrap 5 in it. It combines both via npm and Gulp and adds some dev and build magic to it. This website itself is also included as example.</p>
3636
</div>
3737

38-
<div class="col-12 col-lg-5 py-vh-1">
38+
<div class="col-12 col-lg-5 py-vh-1 text-white">
3939
<img src="img/monitor.svg" class="mb-3" alt="a monitor icon" width="24" height="24"/>
4040
<h2>Local server & Browser Sync</h2>
4141
<p>11straps includes a dev build process with a local server and browser sync. Everything you need for your local live dev environment.</p>
4242
</div>
4343

44-
<div class="col-12 col-lg-5 py-vh-1">
44+
<div class="col-12 col-lg-5 py-vh-1 text-white">
4545
<img src="img/tool.svg" class="mb-3" alt="a tool icon" width="24" height="24"/>
4646
<h2>Minified and purged output</h2>
4747
<p>Once you are done with your local development it´s time for a prod build. The 11straps prod output is a minified HTML site with a minified and purged CSS file and optimized assets. Thats it. Just a clean, fast and static website will come out.</p>
@@ -51,7 +51,7 @@ layout: layouts/home.njk
5151

5252
</div>
5353

54-
<div class="container text-white">
54+
<div class="container">
5555
<div class="row py-5 border-top">
5656
<div class="col-12 col-lg-6 border-right">
5757
<h2>Documentation</h2>

src/scss/themes/base/_style-theme.scss

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,12 @@
55
background-origin: border-box;
66
background-clip: content-box, border-box;
77
}
8-
a {color:$white;}
98
.link-fancy {
10-
color: $white;
119
text-decoration: none;
1210
display: inline-block;
1311
position: relative;
1412
}
1513

16-
.link-fancy:hover {
17-
color: $white;
18-
}
19-
2014
.link-fancy:before {
2115
content: '';
2216
display: block;
@@ -26,7 +20,7 @@ a {color:$white;}
2620
position: absolute;
2721
left: 0;
2822
bottom: 0;
29-
background-image: linear-gradient(90deg, #fff 0, #fff 25%, transparent 0, transparent 50%, #fff 0, #fff 75%, transparent 0, transparent);
23+
background-image: linear-gradient(90deg, $primary 0, $primary 25%, transparent 0, transparent 50%, $primary 0, $primary 75%, transparent 0, transparent);
3024
background-repeat: no-repeat;
3125
background-position: 0;
3226
background-size: 400% 1px;
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
11
$font-family-sans-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
2-
3-
$gray-900: #151515;
4-
$gray-300: #888;
5-
$blue: #1717e5;
6-
$gray-800: #282828;
7-
$orange: #F15D00;
8-
$warning: $orange;
9-
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
10-
$lead-font-weight:200;
11-
$font-weight-light: 200 !default;
12-
$font-weight-normal: 200 !default;
13-
$lead-font-size: $font-size-base * 1.3;

0 commit comments

Comments
 (0)