jekyll-theme-nettoyer 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5706721d3b51c87465118d01afd903b2a11b8b84
4
- data.tar.gz: 87954ab1219aad6dc3f19ef4888452edfd7c13d7
3
+ metadata.gz: 3ceb906e9ed0ba1962f058de9f2752ce081fabb6
4
+ data.tar.gz: 7cccb7fe067d69041de3910be934df129e7821a7
5
5
  SHA512:
6
- metadata.gz: fa185917850b182b1e38997fa182fec4096aeb6d12d419bc28a7b6d7301c397ac5e8b40469394f724af0052d8d9d0e18011424bd224c58991cfafdacd3588d98
7
- data.tar.gz: 0e43f87a4ce0d03e77b7ca168da916a19225c6f7ab2be535dbabf56db108bf8322253ae53ccbf11db5ad5bd666565c53269200cdd50dc6ca2df5cf12ea9e4643
6
+ metadata.gz: 4395615747ff37a6a6d44a047983af63c25e320ea881b44fff336ad3b938901673a1a0950b72e0f378c3aa3a32f26024afffdc6da8edc7ad657d66f074fc8c33
7
+ data.tar.gz: e2ee861763919299e0e93e2d3c0e346f184b20e11ec1511c82eefb5674c7f08d6f3fe009f592bc72a18395e016f70d4d8611b14adad473a641a1ba61ebfedc74
@@ -0,0 +1,8 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
4
+
5
+ <link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
6
+
7
+ <title>{{ site.title }}</title>
8
+ </head>
@@ -0,0 +1,17 @@
1
+ <footer class="main-footer">
2
+ <section class="social-network">
3
+ <ul class="social-list">
4
+ <li class="social"><a class="social" href="">Social Network</a></li>
5
+ </ul>
6
+ </section>
7
+
8
+ <section class="disclaimer-section">
9
+ <p class="disclaimer">
10
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
11
+ incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
12
+ nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
13
+ </p>
14
+ </section>
15
+
16
+ <p class="copy">&copy; 2017.</p>
17
+ </footer>
@@ -0,0 +1,5 @@
1
+ <header class="main-header">
2
+ <h1 class="title"><a href="">nettoyer</a></h1>
3
+
4
+ {% include _main-nav.html %}
5
+ </header>
@@ -0,0 +1,7 @@
1
+ <nav class="main-nav" role="navigation">
2
+ <h2 class="title">Main navigation</h2>
3
+
4
+ <ul class="menu-list">
5
+ <li class="menu"><a class="link" href="">Menu</a></li>
6
+ </ul>
7
+ </nav>
@@ -1,11 +1,12 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
7
- </head>
3
+ {% include _head.html %}
4
+
8
5
  <body>
9
- <h1>nettoyer</h1>
6
+ {% include _main-header.html %}
7
+
8
+ <main class="main-content">{{ content }}</main>
9
+
10
+ {% include _main-footer.html %}
10
11
  </body>
11
12
  </html>
@@ -0,0 +1,8 @@
1
+ .main-content {
2
+ @extend %section-commom;
3
+ @extend %content-wrapper;
4
+
5
+ font-family: $f_secondary;
6
+
7
+ > p { font-size: 22px; }
8
+ }
@@ -0,0 +1,44 @@
1
+ .main-footer {
2
+ @extend %section-commom;
3
+ @extend %content-wrapper;
4
+
5
+ border-top: 1px solid $c_lightgray;
6
+ }
7
+
8
+ .social-list {
9
+ @extend %section-commom;
10
+ text-align: center;
11
+
12
+ > .social {
13
+ display: inline-block;
14
+ font-size: 12px;
15
+
16
+ &:not(:first-child):before {
17
+ content: "・ ";
18
+ color: $c_gray;
19
+ }
20
+
21
+ /* @media 768px */
22
+ @media (min-width: 768px) { font-size: 16px; }
23
+ }
24
+ }
25
+
26
+ .disclaimer-section {
27
+ @extend %centralized;
28
+ text-align: center;
29
+
30
+ > .disclaimer {
31
+ font-family: $f_secondary;
32
+ font-size: 16px;
33
+ color: $c_gray;
34
+ }
35
+
36
+ /* @media 768px */
37
+ @media (min-width: 768px) { width: 60%; }
38
+ }
39
+
40
+ .copy {
41
+ text-align: center;
42
+ font-size: 12px;
43
+ color: $c_gray;
44
+ }
@@ -0,0 +1,24 @@
1
+ .main-header {
2
+ @extend %section-commom;
3
+ @extend %content-wrapper;
4
+
5
+ border-bottom: 1px solid $c_lightgray;
6
+
7
+ &:after { @extend %clearfix; }
8
+
9
+ > .title {
10
+ font-weight: $f_weight-bold;
11
+ text-transform: lowercase;
12
+ word-spacing: -1ex;
13
+
14
+ > a { color: $c_darkgray; }
15
+
16
+ &:after {
17
+ content: ".";
18
+ margin-left: -5px;
19
+ }
20
+
21
+ /* @media 768px */
22
+ @media (min-width: 768px) { display: inline-block; }
23
+ }
24
+ }
@@ -0,0 +1,22 @@
1
+ .main-nav {
2
+ @extend %section-commom;
3
+
4
+ > .title { @extend %hidden; }
5
+
6
+ /* @media 768px */
7
+ @media (min-width: 768px) {
8
+ float: right;
9
+ margin-top: 18px;
10
+ }
11
+ }
12
+
13
+ .menu-list {
14
+ padding-left: 0;
15
+
16
+ > .menu {
17
+ display: inline-block;
18
+ list-style-type: none;
19
+
20
+ &:not(:first-child) { margin-left: 10px; }
21
+ }
22
+ }
@@ -36,8 +36,15 @@ h4,
36
36
  h5,
37
37
  h6 {
38
38
  font-family: $f_primary;
39
+ font-weight: $f_weight-bold;
39
40
  }
40
41
 
42
+ h1 { font-size: 40px; }
43
+ h2 { font-size: 26px; }
44
+ h3 { font-size: 20px; }
45
+
46
+ p { @extend %section-commom; }
47
+
41
48
  img { max-width: 100%; }
42
49
 
43
50
  table {
@@ -0,0 +1,29 @@
1
+ %hidden {
2
+ display: none;
3
+ }
4
+
5
+ %centralized {
6
+ margin-right: auto;
7
+ margin-left: auto;
8
+ }
9
+
10
+ %content-wrapper {
11
+ @extend %centralized;
12
+ width: 95%;
13
+
14
+ /* @media 1024px */
15
+ @media (min-width: 1024px) {
16
+ width: 60%;
17
+ }
18
+ }
19
+
20
+ %section-commom {
21
+ margin-top: 15px;
22
+ margin-bottom: 15px;
23
+ }
24
+
25
+ %clearfix {
26
+ content: "";
27
+ display: block;
28
+ clear: both;
29
+ }
@@ -1,7 +1,7 @@
1
- @import url('https://fonts.googleapis.com/css?family=Belleza|Inconsolata:400,700');
1
+ @import url('https://fonts.googleapis.com/css?family=Bellefair|Inconsolata:400,700');
2
2
 
3
3
  $f_primary: 'Inconsolata', sans-serif;
4
- $f_secondary: 'Belleza', serif;
4
+ $f_secondary: 'Bellefair', serif;
5
5
 
6
6
  $f_weight-regular: 400;
7
7
  $f_weight-bold: 700;
data/_sass/nettoyer.scss CHANGED
@@ -3,3 +3,8 @@
3
3
  @import 'core/generic';
4
4
  @import 'core/objects';
5
5
  @import 'core/base';
6
+
7
+ @import 'components/main-header';
8
+ @import 'components/main-nav';
9
+ @import 'components/main-content';
10
+ @import 'components/main-footer';
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nettoyer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luan Vicente
@@ -61,7 +61,15 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - LICENSE.txt
63
63
  - README.md
64
+ - _includes/_head.html
65
+ - _includes/_main-footer.html
66
+ - _includes/_main-header.html
67
+ - _includes/_main-nav.html
64
68
  - _layouts/default.html
69
+ - _sass/components/_main-content.scss
70
+ - _sass/components/_main-footer.scss
71
+ - _sass/components/_main-header.scss
72
+ - _sass/components/_main-nav.scss
65
73
  - _sass/core/_base.scss
66
74
  - _sass/core/_color-palette.scss
67
75
  - _sass/core/_generic.scss