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 +4 -4
- data/_includes/_head.html +8 -0
- data/_includes/_main-footer.html +17 -0
- data/_includes/_main-header.html +5 -0
- data/_includes/_main-nav.html +7 -0
- data/_layouts/default.html +7 -6
- data/_sass/components/_main-content.scss +8 -0
- data/_sass/components/_main-footer.scss +44 -0
- data/_sass/components/_main-header.scss +24 -0
- data/_sass/components/_main-nav.scss +22 -0
- data/_sass/core/_base.scss +7 -0
- data/_sass/core/_objects.scss +29 -0
- data/_sass/core/_typography.scss +2 -2
- data/_sass/nettoyer.scss +5 -0
- metadata +9 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ceb906e9ed0ba1962f058de9f2752ce081fabb6
|
4
|
+
data.tar.gz: 7cccb7fe067d69041de3910be934df129e7821a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4395615747ff37a6a6d44a047983af63c25e320ea881b44fff336ad3b938901673a1a0950b72e0f378c3aa3a32f26024afffdc6da8edc7ad657d66f074fc8c33
|
7
|
+
data.tar.gz: e2ee861763919299e0e93e2d3c0e346f184b20e11ec1511c82eefb5674c7f08d6f3fe009f592bc72a18395e016f70d4d8611b14adad473a641a1ba61ebfedc74
|
@@ -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">© 2017.</p>
|
17
|
+
</footer>
|
data/_layouts/default.html
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
|
-
|
4
|
-
|
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
|
-
|
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,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
|
+
}
|
data/_sass/core/_base.scss
CHANGED
@@ -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 {
|
data/_sass/core/_objects.scss
CHANGED
@@ -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
|
+
}
|
data/_sass/core/_typography.scss
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
@import url('https://fonts.googleapis.com/css?family=
|
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: '
|
4
|
+
$f_secondary: 'Bellefair', serif;
|
5
5
|
|
6
6
|
$f_weight-regular: 400;
|
7
7
|
$f_weight-bold: 700;
|
data/_sass/nettoyer.scss
CHANGED
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.
|
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
|