further setup. Base site isn't using eleventy directly yet. Not sold on how I've set folders up at the moment. Need to rearrange but not sure if I want svgs images fonts css in assets or moved up a level to the top level where src and www are

This commit is contained in:
Robert McGovern 2022-02-05 13:48:21 +00:00
parent 66fbf05c91
commit 5aa2a43fbe
21 changed files with 7178 additions and 3 deletions

24
.eleventy.js Normal file
View File

@ -0,0 +1,24 @@
module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy("./src/css");
eleventyConfig.addPassthroughCopy("./src/fonts");
eleventyConfig.addPassthroughCopy("./src/images");
eleventyConfig.addPassthroughCopy("./src/svgs");
eleventyConfig.addPassthroughCopy("./src/js");
//eleventyConfig.addPassthroughCopy({
// "./src/assets/images": "img",
//});
// Return your Object options:
return {
dir: {
input: "src",
output: "www",
// ⚠️ These values are both relative to the input directory.
// 📝 _includes is a default value, as is _data but I like them
// visible here as a reminder
includes: "includes",
layouts: "layouts",
data: "data",
},
};
};

11
.eslintrc.js Normal file
View File

@ -0,0 +1,11 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: "eslint:recommended",
parserOptions: {
ecmaVersion: "latest",
},
rules: {},
};

5
.gitignore vendored
View File

@ -2,7 +2,7 @@
#_site
package-lock.json
#package-lock.json
css/main.css.map
# dependency directories
@ -27,6 +27,9 @@ Thumbs.db
dist
src/_includes/css
# my chosen output directory.
www
# ---> macOS
# General

8
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"cSpell.words": [
"eleventy",
"rmcg",
"svgs",
"tarasis"
]
}

View File

@ -1,3 +1,16 @@
# rmcg.dev
Projects completed while working through various HTML/CSS/JavaScript things. Primarily focused on Frontend Mentor. Ultimately it will aim to be a portfolio site.
Projects completed while working through various HTML/CSS/JavaScript things. Primarily focused on Frontend Mentor. Ultimately it will aim to be a portfolio site.
Fedora and other SVG's came from
https://freesvg.org/red-fedora-reworked
License is public domain for the nicer of the Fedoras
Added basic website 5th Feb 2022
--
Self hosting repo on git.tarasis.net
Set up post-receive hook on gitea to deploy the update for caddy

6740
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,8 @@
"description": "Projects completed while working through various HTML/CSS/JavaScript things. Primarily focused on Frontend Mentor. Ultimately it will aim to be a portfolio site.",
"main": "index.js",
"scripts": {
"start": "npx @11ty/eleventy --serve",
"build": "npx @11ty/eleventy",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
@ -11,9 +13,10 @@
"url": "gitea@git.tarasis.net:tarasis/rmcg.dev.git"
},
"keywords": [],
"author": "",
"author": "Robert McGovern",
"license": "ISC",
"devDependencies": {
"@11ty/eleventy": "^1.0.0"
}
}

21
src/css/style.css Normal file
View File

@ -0,0 +1,21 @@
html,
body {
height: 100%;
}
header {
height: 100%;
display: grid;
place-content: center;
}
header > div {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center; /* Vertical center of image & text */
}
.logo {
width: 50%;
}

0
src/data/.forgit Normal file
View File

0
src/fonts/.forgit Normal file
View File

0
src/images/.forgit Normal file
View File

0
src/includes/.forgit Normal file
View File

23
src/index.html Normal file
View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/style.css">
<script src="./js/script.js" defer></script>
<title>rmcg.dev</title>
</head>
<body>
<header>
<div>
<img class="logo" src="./svgs/purple_fedora.svg" alt="Image of a Purple Fedora">
<h2>Coming Soon™</h2>
<p>Projects from Frontend Mentor and more. Playground for learning.</p>
</div>
</header>
</body>
</html>

8
src/index.md-- Normal file
View File

@ -0,0 +1,8 @@
---
title: Hello World
layout: "base.njk"
---
## In the House!
Hello Jamstack fam!

1
src/js/script.js Normal file
View File

@ -0,0 +1 @@
// Nothing to see here 🙈

17
src/layouts/base.njk Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Going Beyond Static Sites With Eleventy</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Going Beyond Static Sites With Eleventy</h1>
</header>
<main>
{{ content | safe }}
</main>
</body>
</html>

68
src/svgs/blue_fedora.svg Normal file
View File

@ -0,0 +1,68 @@
<?xml version="1.0"?>
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:svg="http://www.w3.org/2000/svg" id="svg1" viewBox="0 0 300 300" version="1.0">
<defs id="defs3">
<linearGradient id="linearGradient585">
<stop id="stop586" stop-color="#fff" stop-opacity=".175" offset="0"/>
<stop id="stop587" stop-color="#fff" stop-opacity=".375" offset="1"/>
</linearGradient>
<linearGradient id="linearGradient582" x1="118.03" gradientUnits="userSpaceOnUse" x2="111.23" gradientTransform="scale(1.7812 .56142)" y1="250.64" y2="259.05">
<stop id="stop580" stop-opacity=".40833" offset="0"/>
<stop id="stop581" stop-opacity="0" offset="1"/>
</linearGradient>
<linearGradient id="linearGradient584" x1="132.24" xlink:href="#linearGradient585" gradientUnits="userSpaceOnUse" x2="114.92" gradientTransform="scale(1.5608 .64069)" y1="259.45" y2="353.05"/>
<linearGradient id="linearGradient589" x1="73.289" xlink:href="#linearGradient585" gradientUnits="userSpaceOnUse" y1="255.43" gradientTransform="scale(2.195 .45558)" x2="147.04" y2="255.43"/>
</defs>
<g id="g847" transform="matrix(.62464 0 0 .62464 -3.6132 .36617)" fill-rule="evenodd">
<path id="path575" stroke-linejoin="round" d="m93.858 201.9c2.9135-12.972 5.827-102.34 32.049-100.89 93.233 2.8827 189.38-93.688 259.3 121.07 215.6 100.9 14.99 181.97-155.69 174.77-168.66-7.07-312.66-128.65-135.66-194.95z" fill-opacity=".99167" stroke="#000" stroke-width="10" fill="#1f3379"/>
<path id="path576" stroke="#000" stroke-width="5" d="m89.488 230.73c107.8 67.743 285.53 25.944 292.81-7.2068 10.197 11.531 0 43.24 0 43.24-46.616 60.537-272.41 47.565-297.18 4.324-2.9135-11.531 2.9135-36.034 4.3703-40.358z"/>
<path id="path578" stroke-width="1pt" fill="url(#linearGradient582)" d="m130.28 122.63c27.678-24.503 148.59 10.089 164.61 28.827 5.8271 31.71-148.59 7.2068-164.61-28.827z"/>
<path id="path583" stroke-width="1pt" fill="url(#linearGradient584)" d="m130.28 158.66c13.111 30.268 64.098 100.89 150.05 33.151-71.381 2.8827-101.97-5.7654-150.05-33.151z"/>
<path id="path588" stroke-width="1pt" fill="url(#linearGradient589)" d="m160.87 99.567c18.938 8.6481 138.39 41.799 151.5 31.71 14.568-5.7654 11.654-8.6481 4.3703-10.089-11.654 7.2068-32.049 11.531-155.87-21.62z"/>
<path id="path590" d="m106.97 246.58c17.481 8.6481 71.381 20.179 91.776 21.62 14.568 10.089 7.2838 25.944 1.4568 37.475-39.333 0-84.492-10.089-96.146-23.062-7.2838-12.972-4.3703-23.062 2.9135-36.034z" fill-opacity=".31667" stroke="#000" stroke-width="1.8783pt" fill="#fff"/>
</g>
<metadata>
<rdf:RDF>
<cc:Work>
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<cc:license rdf:resource="http://creativecommons.org/licenses/publicdomain/"/>
<dc:publisher>
<cc:Agent rdf:about="http://openclipart.org/">
<dc:title>Openclipart</dc:title>
</cc:Agent>
</dc:publisher>
<dc:title>Blue Fedora</dc:title>
<dc:date>2013-04-29T14:43:46</dc:date>
<dc:description>A blue fedora</dc:description>
<dc:source>http://openclipart.org/detail/177540/blue-fedora-by-jcsalomon-177540</dc:source>
<dc:creator>
<cc:Agent>
<dc:title>JCSalomon</dc:title>
</cc:Agent>
</dc:creator>
<dc:subject>
<rdf:Bag>
<rdf:li>blue</rdf:li>
<rdf:li>cartoon</rdf:li>
<rdf:li>clip art</rdf:li>
<rdf:li>clipart</rdf:li>
<rdf:li>clothing</rdf:li>
<rdf:li>fedora</rdf:li>
<rdf:li>hat</rdf:li>
<rdf:li>image</rdf:li>
<rdf:li>media</rdf:li>
<rdf:li>people</rdf:li>
<rdf:li>png</rdf:li>
<rdf:li>public domain</rdf:li>
<rdf:li>svg</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
<cc:License rdf:about="http://creativecommons.org/licenses/publicdomain/">
<cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/>
<cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/>
<cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/>
</cc:License>
</rdf:RDF>
</metadata>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -0,0 +1,60 @@
<?xml version="1.0"?>
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg" id="svg2" viewBox="0 0 128 128" sodipodi:version="0.32" sodipodi:docname="adventurer_hat.svg" sodipodi:docbase="/home/nicu/Desktop">
<sodipodi:namedview id="base" bordercolor="#666666" borderopacity="1.0" pagecolor="#ffffff"/>
<g id="layer1">
<g id="g2055" transform="translate(-1 4)" fill-rule="evenodd">
<path id="path4735" d="m60.031 13.344c-4.503 1.555-9.469-2.203-13.828 1.347-9.38 6.227-8.538 19.35-10.172 29.309-3.283 1.987-0.793 6.417-3.312 9.125 1.329 5.158-4.225 4.833-7.969 5.625-6.81 1.633-14.651 0.209-20.531 4.594 0.9693 11.441 14.124 15.448 23.453 18.208 25.753 6.393 53.143 7.603 79.248 2.584 8.03-1.781 19.84-5.281 19.46-15.448-1.85-9.778-14.08-12.205-22.44-10.344-4.267-10.027-2.8-21.352-6.471-31.563-6.614-14.084-23.885-15.738-37.438-13.437z"/>
<path id="path1295" fill="#4c2200" d="m100.81 59.125c-19.775 6.183-67.271 8.68-91.31 3.687-1.6649 0.369-2.8539 0.819-3.0938 1.5 0.6793 24.113 112.43 28.19 117.53 7.813 3.05-7.981-8.34-15.111-22.1-11.375-0.38-0.135-0.73-0.742-1.03-1.625z"/>
<path id="path2102" fill="#632d00" d="m67.781 14.5c-5.774 0.26-10.415 1.368-11.625 1.75-1.188-0.679-2.904-2.044-7.281-0.656-10.726 2.791-10.012 26.195-11.937 37.906 20.47-1.507 43.369-0.27 63.122 2.469-1.391-7.856-2.03-23.09-4.31-28.157-5.519-11.78-18.346-13.745-27.969-13.312z"/>
<path id="path1294" sodipodi:nodetypes="csccccc" fill="#b16f37" d="m47.314 56.526c-5.871 0.102-9.908 0.411-10.673 0.962-0.162 0.117-0.385 0.235-0.629 0.353-0.075 0.215-0.139 0.475-0.22 0.667-8.899 3.899-27.884 3.515-29.152 5.457 31.615 10.086 92.146-1.19 96.79-3.488 0.78-3.417-42.261-4.194-56.116-3.951z"/>
<path id="path1306" sodipodi:nodetypes="csccccc" fill="#8e4000" d="m47.314 56.054c-5.871 0.103-9.908 0.411-10.673 0.963-0.162 0.117-0.385 0.235-0.629 0.353-0.075 0.214-0.139 0.475-0.22 0.667-8.899 3.899-24.135 3.431-28.319 5.374 35.102 9.88 98.657-3.934 95.797-3.156 0.19-3.25-42.101-4.443-55.956-4.201z"/>
<path id="path1316" sodipodi:nodetypes="ccccc" fill="#371800" d="m50.567 15.416c9.283 7.585-0.962 28.924-4.754 33.452-6.793 9.509 22.754 8.83 20.886 0.849-9.679-4.415-9.849-16.132-9.509-31.754-1.564-1.677-3.736-0.509-6.623-2.547z"/>
<path id="path1310" sodipodi:nodetypes="cccccc" d="m36.473 46.107c19.471-13.867 47.773-0.522 62.999 5.308 1.108 1.093 3.858 8.273 3.148 8.146-13.568-2.222-54.437-3.886-67.513-1.169-0.594 0.255-1.166-5.34 0.39-6.531 1.843-1.582-0.135-4.38 0.976-5.754z"/>
<path id="path1312" sodipodi:nodetypes="ccc" fill="#512400" d="m63.306 27.506c-2.206-19.966 25.881-11.956 25.898 6.262-3.778-10.511-21.176-18.752-25.898-6.262z"/>
<path id="path1314" sodipodi:nodetypes="cccc" fill="#512400" d="m50.719 17.344c-4.564 0.276-9.828 13.812-8.383 13.437 2.428-7.646 9.721-14.5 10.135-4.618 0.847-2.757 1.417-7.389-1.752-8.819z"/>
</g>
</g>
<metadata>
<rdf:RDF>
<cc:Work>
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<cc:license rdf:resource="http://creativecommons.org/licenses/publicdomain/"/>
<dc:publisher>
<cc:Agent rdf:about="http://openclipart.org/">
<dc:title>Openclipart</dc:title>
</cc:Agent>
</dc:publisher>
<dc:title>Adventurer hat</dc:title>
<dc:date>2008-02-25T14:03:30</dc:date>
<dc:description>A hat for an adventurer guy (professor, snake-fearing archaeologist or so)</dc:description>
<dc:source>http://openclipart.org/detail/14831/adventurer-hat-by-nicubunu</dc:source>
<dc:creator>
<cc:Agent>
<dc:title>nicubunu</dc:title>
</cc:Agent>
</dc:creator>
<dc:subject>
<rdf:Bag>
<rdf:li>cartoon</rdf:li>
<rdf:li>clip art</rdf:li>
<rdf:li>clipart</rdf:li>
<rdf:li>clothing</rdf:li>
<rdf:li>hat</rdf:li>
<rdf:li>image</rdf:li>
<rdf:li>media</rdf:li>
<rdf:li>people</rdf:li>
<rdf:li>png</rdf:li>
<rdf:li>public domain</rdf:li>
<rdf:li>svg</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
<cc:License rdf:about="http://creativecommons.org/licenses/publicdomain/">
<cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/>
<cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/>
<cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/>
</cc:License>
</rdf:RDF>
</metadata>
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 399 309" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g id="Layer-1" serif:id="Layer 1" transform="matrix(1,0,0,1,-98.0058,-219.292)">
<path id="path4154" d="M205.309,351.538C207.054,343.768 208.799,290.237 224.509,291.1C280.358,292.825 337.141,231.711 379.026,360.363C401.741,365.091 418.65,378.439 427.458,387.959C469.652,433.557 371.163,471.89 286.577,468.322C185.543,464.06 99.279,391.254 205.31,351.538L205.309,351.538Z" style="fill:rgb(78,36,124);fill-opacity:0.99;"/>
<path id="path4248" d="M204.69,351.776C158.987,369.077 149.462,392.575 161.593,413.957C169.032,396.938 187.063,382.481 213.201,373.367C207.749,366.926 204.679,359.689 204.679,352.032C204.679,351.946 204.689,351.862 204.691,351.776L204.69,351.776ZM378.035,357.407C376.852,363.727 373.229,369.646 367.781,374.959C402.215,384.899 428.932,400.432 435.595,419.178C439.607,409.516 437.63,398.951 427.459,387.96C418.651,378.44 401.741,365.091 379.027,360.363C378.698,359.354 378.366,358.39 378.035,357.407Z" style="fill:rgb(64,38,93);fill-opacity:0.99;"/>
<path id="path4162" d="M375.942,355.317L375.307,358.196C374.891,360.087 373.049,362.463 369.749,364.857C366.448,367.251 361.778,369.66 356.059,371.88C344.622,376.322 328.992,380.028 311.491,381.851C290.079,384.082 265.574,383.635 243.829,375.336C230.03,370.069 218.577,363.678 207.27,352.271L205.646,351.305L204.138,351.305L203.702,350.209C203.184,351.742 201.678,361.322 201.241,367.257C200.839,372.717 200.859,375.995 201.118,379.023L201.545,379.741L201.647,379.918C205.827,387.218 220.816,396.452 235.413,402.572C246.728,407.316 263.275,409.483 282.823,410.527C303.836,411.649 322.592,409.232 339.601,405.226C356.61,401.219 370.603,394.883 377.957,385.333L378.117,385.127L380.995,381.28C380.995,381.28 381.855,378.248 381.857,374.26C381.857,367.808 381.561,361.675 377.893,357.526L375.942,355.317Z"/>
<path id="rect5246" d="M227.826,370.53C227.826,370.53 225.224,376.484 223.857,384.714C222.49,392.943 223.646,395.702 223.646,395.702C227.318,397.676 231.191,399.528 235.043,401.143C245.374,405.474 262.65,407.985 280.402,408.975C280.402,408.975 281.11,405.732 282.258,397.8C283.407,389.868 282.165,384.405 282.165,384.405C268.865,384.11 255.241,382.141 242.617,377.322C237.367,375.319 232.486,373.132 227.826,370.53Z" style="fill:rgb(88,88,88);fill-opacity:0.57;fill-rule:nonzero;"/>
<path id="path5420" d="M238.554,290.716C242.304,290.71 253.614,292.142 268.972,300.155C288.115,310.142 288.877,313.424 314.299,315.264C314.299,315.264 322.49,315.912 327.645,310.757C332.799,305.602 330.222,295.293 313.04,293.861C295.858,292.429 285.835,288.706 270.084,289.566C254.334,290.425 234.861,291.284 234.861,291.284L240.015,290.997" style="fill:rgb(56,36,78);fill-opacity:0.51;fill-rule:nonzero;"/>
<path id="path4262" d="M307.086,276.038C279.832,274.987 251.713,289.843 224.574,289.004L224.623,289.007C222.066,288.866 219.705,289.899 217.845,291.57C215.984,293.241 214.511,295.517 213.236,298.183C210.686,303.515 208.935,310.488 207.609,317.702C206.284,324.915 205.407,332.355 204.751,338.47C204.147,344.091 203.719,348.166 203.384,350.058C177.373,360.004 162.641,372.031 157.135,385.129C151.542,398.435 155.926,412.394 166.724,424.613C188.319,449.051 235.493,468.266 286.487,470.417C329.13,472.216 375.1,463.527 405.492,448.457C420.688,440.922 432.088,431.805 437.043,421.138C441.997,410.471 439.922,398.34 428.998,386.535C420.1,376.919 403.291,363.671 380.617,358.615C370.194,326.963 358.839,306.623 346.568,294.044C334.142,281.307 320.713,276.564 307.086,276.038L307.086,276.038ZM306.923,280.228C319.708,280.722 331.818,284.931 343.565,296.972C355.312,309.014 366.619,329.029 377.032,361.013C377.265,361.726 377.864,362.262 378.598,362.414C400.746,367.024 417.357,380.127 425.92,389.382C436.093,400.375 437.528,410.137 433.239,419.371C428.95,428.604 418.355,437.398 403.629,444.7C374.178,459.303 328.607,467.997 286.664,466.227C236.624,464.116 190.152,444.795 169.864,421.836C159.72,410.356 156.106,398.402 161.002,386.754C165.898,375.105 179.822,363.324 206.045,353.501C206.706,353.252 207.199,352.686 207.353,351.997L207.353,351.995C207.384,351.857 207.402,351.717 207.405,351.576C207.405,351.571 207.405,351.566 207.405,351.562C207.91,349.125 208.289,344.797 208.92,338.919C209.573,332.84 210.442,325.493 211.734,318.46C213.027,311.428 214.768,304.697 217.018,299.992C218.144,297.639 219.399,295.813 220.647,294.691C221.896,293.569 223.025,293.117 224.395,293.192C224.411,293.193 224.428,293.194 224.444,293.194C253.154,294.081 281.352,279.242 306.923,280.229L306.923,280.228Z"/>
<ellipse id="path4234" cx="239.915" cy="298.334" rx="21.163" ry="9.536" style="fill:rgb(78,36,124);fill-opacity:0.99;"/>
<path id="path5418" d="M235.701,286.532C231.937,286.538 226.551,286.436 222.361,288.536C218.496,290.473 216.262,293.239 216.262,293.239C214.501,295.413 217.763,298.053 219.523,295.878C219.523,295.878 221.209,293.805 224.239,292.287C226.944,290.931 231.973,290.733 235.708,290.727C238.916,290.721 250.076,292.064 265.15,299.929C284.147,309.84 285.699,313.417 311.297,315.269C314.16,315.558 313.862,314.782 310.988,314.656C288.598,312.829 285.261,309.087 266.888,297.433C251.45,287.641 239.992,286.525 235.701,286.532Z" style="fill-rule:nonzero;"/>
<path id="path4266" d="M290.227,322.61C282.435,324.797 280.762,326.41 266.074,326.41C251.385,326.41 225.365,308.993 225.365,300.899C225.365,292.805 242.735,293.158 255.218,300.899C290.227,322.61 299.726,319.944 290.227,322.61Z" style="fill:url(#_Linear1);fill-rule:nonzero;"/>
<path id="path4277" d="M306.66,281.902C295.344,281.932 290.128,282.261 284.431,286.627C294.589,285.379 300.007,286.825 311.413,289.661C324.958,293.029 333.615,295.557 341.397,299.613C338.631,292.607 324.566,284.19 312.423,282.333C310.46,282.033 308.532,281.897 306.66,281.902Z" style="fill:url(#_Linear2);fill-rule:nonzero;"/>
</g>
<defs>
<linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-11.1269,50.7496,-50.7496,-11.1269,256.575,268.332)"><stop offset="0" style="stop-color:white;stop-opacity:1"/><stop offset="1" style="stop-color:white;stop-opacity:0"/></linearGradient>
<linearGradient id="_Linear2" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-5.45385,26.5961,-26.5961,-5.45385,314.284,264.161)"><stop offset="0" style="stop-color:white;stop-opacity:1"/><stop offset="1" style="stop-color:white;stop-opacity:0"/></linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 6.8 KiB

155
src/svgs/red_fedora.svg Normal file
View File

@ -0,0 +1,155 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="140.50224mm"
height="108.67397mm"
viewBox="0 0 497.84259 385.06526"
id="svg4454"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="Red_fedora_reworked.svg">
<defs
id="defs4456">
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4268"
id="linearGradient4290"
x1="1024.3678"
y1="-295.92249"
x2="1019.7918"
y2="-273.6073"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.4897971,0,0,1.4897971,-1133.245,771.06624)" />
<linearGradient
inkscape:collect="always"
id="linearGradient4268">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop4270" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop4272" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4268"
id="linearGradient4274"
x1="972.98737"
y1="17.43881"
x2="963.65149"
y2="60.019817"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.4897971,0,0,1.4897971,-1128.8349,309.43523)" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="-463.22157"
inkscape:cy="103.96121"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="20"
fit-margin-left="20"
fit-margin-right="20"
fit-margin-bottom="20"
inkscape:showpageshadow="false"
inkscape:window-width="1920"
inkscape:window-height="1016"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1" />
<metadata
id="metadata4459">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-122.50728,-274.11531)">
<path
id="path4154"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccsscc"
style="fill:#d90000;fill-opacity:0.99167002;fill-rule:evenodd;stroke:none;stroke-width:3.51836967;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
d="m 256.6359,439.42192 c 2.18203,-9.71213 4.36331,-76.62563 24.00081,-75.54731 69.81137,2.15663 140.78938,-74.23546 193.14606,86.5786 28.3933,5.91003 49.5295,22.59592 60.54029,34.49529 52.7418,56.99752 -70.36967,104.91384 -176.10236,100.45358 C 231.92814,580.07452 124.09835,489.06792 256.63741,439.42192 Z" />
<path
style="fill:#a70f0e;fill-opacity:0.99607843;fill-rule:evenodd;stroke:none;stroke-width:3.51836967;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
d="m 255.8628,439.72022 c -57.12874,21.62638 -69.03577,50.99871 -53.87129,77.72552 9.29847,-21.2726 31.83728,-39.34505 64.50938,-50.73748 -6.81472,-8.05078 -10.65263,-17.09732 -10.65263,-26.66795 0,-0.10727 0.0134,-0.21294 0.0149,-0.32009 z m 216.68106,7.03871 c -1.47878,7.89988 -6.00716,15.29837 -12.81747,21.93961 43.04232,12.42504 76.43881,31.84206 84.76707,55.27379 5.01555,-12.07723 2.54353,-25.28394 -10.1695,-39.02279 -11.0108,-11.89937 -32.14715,-28.58518 -60.54044,-34.49521 -0.41089,-1.26137 -0.82639,-2.46628 -1.23966,-3.6954 z"
id="path4248"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 469.92703,444.14577 -0.79272,3.5992 c -0.51994,2.36416 -2.82302,5.33407 -6.94842,8.32618 -4.12539,2.99211 -9.96287,6.00358 -17.11151,8.77937 -14.29699,5.55188 -33.83433,10.18508 -55.71007,12.46365 -26.76614,2.78794 -57.39661,2.22995 -84.57821,-8.14465 -17.249,-6.58355 -31.56502,-14.57157 -45.69906,-28.83103 l -2.02967,-1.20723 -0.53968,0 -1.34551,0 -0.54494,-1.37057 c -0.64662,1.91722 -2.52947,13.8918 -3.07555,21.3106 -0.50233,6.82465 -0.47751,10.9221 -0.15427,14.70795 l 0.53403,0.89648 0.12723,0.22228 c 5.22476,9.12441 23.96081,20.66673 42.2075,28.31689 14.14351,5.92984 34.82708,8.63927 59.26207,9.94409 26.2668,1.40265 49.71158,-1.61836 70.97293,-6.62661 21.26134,-5.00826 38.7529,-12.92817 47.94569,-24.86576 l 0.19889,-0.25744 3.59801,-4.80926 c 0,0 1.07444,-3.79009 1.07772,-8.77456 0,-8.06595 -0.37052,-15.73136 -4.95462,-20.91824 z"
id="path4162"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccsssscccccscccssscccscc" />
<path
style="opacity:1;fill:#585858;fill-opacity:0.57599996;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 284.78286,463.16218 c 0,0 -3.25337,7.44325 -4.96181,17.72982 -1.70846,10.28656 -0.26303,13.73547 -0.26303,13.73547 4.58994,2.46742 9.43072,4.78227 14.24512,6.80076 12.91381,5.4143 34.50963,8.55361 56.69956,9.79037 0,0 0.88484,-4.05402 2.3204,-13.96867 1.43557,-9.91464 -0.1165,-16.74378 -0.1165,-16.74378 -16.62548,-0.3684 -33.6551,-2.82998 -49.43592,-8.85317 -6.56251,-2.50475 -12.66356,-5.23818 -18.48782,-8.4908 z"
id="rect5246"
inkscape:connector-curvature="0"
sodipodi:nodetypes="czcsczcsc" />
<path
sodipodi:nodetypes="czcssscc"
inkscape:connector-curvature="0"
id="path5420"
d="m 298.19257,363.39464 c 4.68693,-0.007 18.82451,1.78311 38.0219,11.79867 23.92956,12.48444 24.88198,16.5867 56.65906,18.88634 0,0 10.23893,0.80987 16.6823,-5.63346 6.44322,-6.44331 3.22154,-19.32997 -18.25612,-21.11978 -21.47781,-1.78981 -34.00641,-6.44333 -53.69438,-5.36944 -19.68793,1.07389 -44.02939,2.14778 -44.02939,2.14778 l 6.44333,-0.35797"
style="opacity:1;fill:#781f1c;fill-opacity:0.51200005;stroke:none;stroke-width:3.51999998;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.51836967;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 383.85728,345.04807 c -34.06712,-1.31388 -69.21561,17.25534 -103.1393,16.20736 l 0.0611,0.003 c -3.19685,-0.17554 -6.14779,1.11497 -8.47322,3.20365 -2.32542,2.0887 -4.16762,4.93421 -5.76133,8.26663 -3.18739,6.66486 -5.37566,15.38113 -7.03288,24.39835 -1.65722,9.0172 -2.75261,18.31652 -3.57319,25.96088 -0.7542,7.02609 -1.28915,12.12005 -1.70802,14.48477 -32.51466,12.43188 -50.929,27.4659 -57.81112,43.83846 -6.99156,16.6329 -1.51147,34.08142 11.9853,49.35532 26.99356,30.54783 85.96149,54.56642 149.70421,57.25535 53.30405,2.2486 110.76597,-8.61284 148.75565,-27.45067 18.99491,-9.41892 33.24587,-20.81526 39.43895,-34.14894 6.19309,-13.3337 3.59891,-28.49679 -10.05613,-43.25358 -11.1218,-12.01931 -32.1333,-28.58049 -60.47654,-34.89969 -13.02813,-39.56521 -27.22232,-64.99058 -42.56097,-80.71382 -15.53174,-15.92109 -32.31892,-21.85007 -49.35251,-22.50701 z m -0.20366,5.23756 c 15.98195,0.61639 31.11888,5.87816 45.80247,20.92991 14.68374,15.05175 28.81745,40.07073 41.83366,80.0504 a 2.6210907,2.6210907 0 0 0 1.95833,1.75168 c 27.68386,5.76235 48.44776,22.14093 59.15255,33.70958 12.71586,13.74196 14.50898,25.94463 9.14825,37.48644 -5.36089,11.54178 -18.60534,22.53376 -37.01223,31.66109 -36.81363,18.25465 -93.77796,29.12112 -146.2066,26.90946 -62.54986,-2.63862 -120.64043,-26.79025 -146.00016,-55.48913 -12.67986,-14.34943 -17.19779,-29.29275 -11.07746,-43.85299 6.12032,-14.56024 23.52473,-29.28762 56.30385,-41.56592 a 2.6210907,2.6210907 0 0 0 1.63529,-1.8797 l 0,-0.003 a 2.6210907,2.6210907 0 0 0 0.0641,-0.52376 2.6210907,2.6210907 0 0 0 0,-0.0174 c 0.63228,-3.04651 1.1056,-8.45604 1.89424,-15.80291 0.81579,-7.59976 1.90237,-16.78349 3.51791,-25.57388 1.61553,-8.7904 3.79232,-17.20438 6.60515,-23.08603 1.40641,-2.94083 2.97519,-5.22333 4.53631,-6.62553 1.56113,-1.40219 2.97219,-1.96792 4.68473,-1.87388 a 2.6210907,2.6210907 0 0 0 0.0611,0.003 c 35.88769,1.10865 71.13474,-17.44012 103.09856,-16.20737 z"
id="path4262"
inkscape:connector-curvature="0" />
<ellipse
style="opacity:1;fill:#da0000;fill-opacity:0.99215686;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path4234"
cx="299.89392"
cy="372.91754"
rx="26.453438"
ry="11.919983" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.51999998;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 294.62662,358.16526 c -4.70476,0.007 -11.43821,-0.11963 -16.67583,2.50532 -4.83019,2.4208 -7.62356,5.87771 -7.62356,5.87771 -2.20055,2.71779 1.87687,6.01815 4.07657,3.29966 0,0 2.10707,-2.59123 5.89518,-4.48976 3.38067,-1.69433 9.66727,-1.94167 14.33637,-1.94953 4.01003,-0.007 17.95966,1.6716 36.80265,11.50228 23.74602,12.38867 25.68591,16.85976 57.68303,19.17531 3.57879,0.36115 3.20693,-0.60911 -0.3866,-0.76682 -27.98733,-2.28369 -32.15787,-6.9603 -55.12467,-21.52846 -19.29681,-12.24023 -33.6193,-13.63478 -38.98314,-13.62571 z"
id="path5418"
inkscape:connector-curvature="0"
sodipodi:nodetypes="csccscsccsc" />
<path
style="opacity:1;fill:url(#linearGradient4274);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 362.78425,403.26264 c -9.74081,2.73393 -11.83133,4.74931 -30.19207,4.74931 -18.36075,0 -50.88535,-21.771 -50.88535,-31.88816 0,-10.11715 21.71214,-9.67673 37.31592,0 43.7615,27.13885 55.63473,23.80641 43.7615,27.13885 z"
id="path4266"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sssss" />
<path
style="opacity:1;fill:url(#linearGradient4290);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 383.32482,352.37796 c -14.14428,0.0368 -20.66482,0.44864 -27.7855,5.90545 12.69669,-1.55995 19.46886,0.24773 33.72726,3.79279 16.9311,4.20958 27.75209,7.37003 37.47972,12.43972 -3.45797,-8.75666 -21.03832,-19.27871 -36.21697,-21.59965 -2.45384,-0.37522 -4.86463,-0.5444 -7.20451,-0.53831 z"
id="path4277"
inkscape:connector-curvature="0"
sodipodi:nodetypes="scscss" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB