Skip to content

Commit

Permalink
new defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
manueldeutsch committed Mar 4, 2022
1 parent 6d6473a commit 11264c2
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 12 deletions.
11 changes: 8 additions & 3 deletions assets/scss/common/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,22 @@ body {
min-height: 100vh;
}

img,
svg {
max-width: 100%;
}

.wrapper {
width: 100%;
max-width: 1000px;
margin: 0 auto;
padding: 0 10px;
padding: 0 20px;
}

.header,
.footer {
padding: 10px;
background-color: #f6f6f6;
padding: 10px 20px;
background-color: var(--background);

a {
text-decoration: none;
Expand Down
8 changes: 7 additions & 1 deletion assets/scss/common/_typo.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
html {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: 16px;
color: var(--typo);
}

a {
color: black;
color: var(--typo);
}
4 changes: 4 additions & 0 deletions assets/scss/common/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
:root {
--background: #f6f6f6;
--typo: #3e3e3e;
}
4 changes: 4 additions & 0 deletions assets/scss/components/_footer.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
.footer {
margin-top: auto;
text-align: right;

a:hover {
text-decoration: underline;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kirby-bucket",
"version": "2.1.1",
"version": "2.1.2",
"description": "Kirby Bucket is a simple developer theme and boilerplate for the Kirby CMS, to build websites fast and easy.",
"author": "Manuel Deutsch",
"license": "ISC",
Expand Down
6 changes: 6 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ For a simple and easy deploy, we use github actions.
The action will run composer, npm build and copy the files via FTP to your Server.
Don't forget to add your secrets within github settings!

## 🧴 Links

- Kirby docs: https://getkirby.com/docs
- Parcel docs: https://parceljs.org/docs/
- Favicon Generation: https://favicon.io

## 💫 Inspirational Quote

> Seek not for fresher founts afar, just drop your bucket where you are.
Expand Down
3 changes: 1 addition & 2 deletions site/snippets/footer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<footer class="footer">
<span>&copy; <?= date("Y") ?></span> -
<a href="<?= url() ?>/imprint-privacy">Imprint & Privacy</a> |
<a href="<?= url() ?>/panel">Panel</a>
<a href="<?= url() ?>/imprint-privacy">Imprint & Privacy</a>
</footer>
10 changes: 5 additions & 5 deletions site/snippets/head.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
<meta property="og:image" content="<?= $image->url() ?>" />
<?php endif; ?>

<link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/icons/favicon-16x16.png">
<link rel="shortcut icon" type="image/x-icon" href="/assets/iconsfavicon.ico">
<link rel="manifest" href="/site.webmanifest">
<link rel="apple-touch-icon" sizes="180x180" href="<?= $site->url() ?>/assets/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?= $site->url() ?>/assets/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<?= $site->url() ?>/assets/icons/favicon-16x16.png">
<link rel="shortcut icon" type="image/x-icon" href="<?= $site->url() ?>/assets/iconsfavicon.ico">
<link rel="manifest" href="<?= $site->url() ?>/site.webmanifest">

<?= css(["assets/dist/scss/main.css?v1.0", "@auto"]) ?>
</head>
Expand Down

0 comments on commit 11264c2

Please sign in to comment.