Skip to content

Commit

Permalink
Merge pull request #22 from jake-101/dev
Browse files Browse the repository at this point in the history
Bael 1.0 Dev
  • Loading branch information
jake-101 committed Sep 13, 2020
2 parents c950706 + b28c304 commit 105620c
Show file tree
Hide file tree
Showing 87 changed files with 17,560 additions and 5,051 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -12,4 +12,6 @@ dist

# Nuxt generate
sw.*
sw.js

/static/sw.js
15 changes: 12 additions & 3 deletions app.html
@@ -1,6 +1,15 @@
<!--
_ __ ___ ____ ___
(_)____ _ / /__ ___ < // __ \< /
/ // __ `// //_// _ \ / // / / // /
/ // /_/ // ,< / __// // /_/ // /
__/ / \__,_//_/|_| \___//_/ \____//_/
/___/
BAEL THEME FOR JAMSTACK + NETLIFY CMS
https://jake101.com | https://github.com/jake-101
-->
<!DOCTYPE html>
<html {{ HTML_ATTRS }}>

<html {{ HTML_ATTRS }}>
<head>
{{ HEAD }}
<script defer src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
Expand All @@ -9,7 +18,7 @@
<body {{ BODY_ATTRS }}>
{{ APP }}
</body>
<script>
<script defer>
if (window.netlifyIdentity) {
window.netlifyIdentity.on("init", user => {
if (!user) {
Expand Down
162 changes: 162 additions & 0 deletions assets/content.scss
@@ -0,0 +1,162 @@
.post-content .nuxt-content {
line-height: 1.85;

@media print {
*,
*:before,
*:after {
background: transparent !important;
color: #000 !important;
box-shadow: none !important;
text-shadow: none !important;
}

a,
a:visited {
text-decoration: underline;
}

a[href]:after {
content: " (" attr(href) ")";
}

abbr[title]:after {
content: " (" attr(title) ")";
}

a[href^="#"]:after,
a[href^="javascript:"]:after {
content: "";
}

pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}

thead {
display: table-header-group;
}

tr,
img {
page-break-inside: avoid;
}

img {
max-width: 100% !important;
}

p,
h2,
h3 {
orphans: 3;
widows: 3;
}

h2,
h3 {
page-break-after: avoid;
}
}

p,
ul,
ol {
font-size: 1rem;
margin-bottom: 1.3rem;
}

h1,
h2,
h3,
h4 {
margin: 1.618rem 0 1rem;
font-weight: inherit;
color: var(--textcolor);
line-height: 1.1;
letter-spacing: -0.15rem;
}

h1 {
margin-top: 0;
font-size: 2.827rem;
}

h2 {
font-size: 2.827rem;
}

h3 {
font-size: 1.999rem;
}

h4,
.splendor-h4 {
font-size: 1.414rem;
}

h5 {
font-size: 1.121rem;
}

h6,
.splendor-h6 {
font-size: 0.88rem;
}

small {
font-size: 0.707em;
}

/* https://github.com/mrmrs/fluidity */

img,
canvas,
iframe,
video,
svg,
select,
textarea {
max-width: 100%;
}

div {
width: 100%;
}

div img {
width: 100%;
}
blockquote {
padding: 0.5rem 1.5rem;
}

blockquote p {
font-size: 1.5rem;
font-style: italic;
margin: 1rem auto 1rem;
}

li {
margin-left: 0;
}

p {
height: auto;
line-height: 1.618;
}

pre,
code {
font-family: Menlo, Monaco, "Courier New", monospace;
}

pre {
background-color: #fafafa;
font-size: 0.8rem;
overflow-x: auto;
padding: 1.125em;
}
}

0 comments on commit 105620c

Please sign in to comment.