diff --git a/files/logo.svg b/files/logo.svg index 5bde9f6..7710b97 100644 --- a/files/logo.svg +++ b/files/logo.svg @@ -11,13 +11,76 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="139.15796mm" height="54.4408mm" - viewBox="0 0 139.15796 54.4408" + viewBox="0 0 139.15796 54.440798" version="1.1" - id="svg932" + id="svg8" inkscape:version="0.92.4 5da689c313, 2019-01-14" - sodipodi:docname="logo.svg"> + sodipodi:docname="logo.svg" + inkscape:export-filename="/home/sebastian/projects/c3space/c3space-logo/general/logo.png" + inkscape:export-xdpi="300" + inkscape:export-ydpi="300"> + id="defs2"> + + + + + + + + showguides="false" /> + id="metadata5"> @@ -69,20 +157,20 @@ inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" - transform="translate(19.686124,-80.791506)"> + transform="translate(-187.58787,6.7607043)"> + id="g935-2" + transform="translate(164.56782,-34.335778)"> + id="g918-7"> + id="g906-0"> + id="g1094-9-7"> + + id="path107-5-3-9" /> + id="text886-7-6-2"> + id="path889" + inkscape:connector-curvature="0" /> + id="path891" + inkscape:connector-curvature="0" /> + id="path893" + inkscape:connector-curvature="0" /> + id="path895" + inkscape:connector-curvature="0" /> + id="path897" + inkscape:connector-curvature="0" /> + id="path899" + inkscape:connector-curvature="0" /> diff --git a/themes/c3space/assets/background.jpg b/themes/c3space/assets/background.jpg new file mode 100644 index 0000000..cc8b0a1 Binary files /dev/null and b/themes/c3space/assets/background.jpg differ diff --git a/themes/c3space/assets/css/montserrat/font.css b/themes/c3space/assets/css/montserrat/font.css new file mode 100644 index 0000000..e178ce5 --- /dev/null +++ b/themes/c3space/assets/css/montserrat/font.css @@ -0,0 +1,47 @@ +/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on December 21, 2018 */ + + + +@font-face { + font-family: 'Montserrat Black'; + src: url('/assets/css/montserrat/montserrat-black-webfont.woff2') format('woff2'), + url('/assets/css/montserrat/montserrat-black-webfont.woff') format('woff'); + font-weight: normal; + font-style: normal; + +} + + + + +@font-face { + font-family: 'Montserrat'; + src: url('/assets/css/montserrat/montserrat-bold-webfont.woff2') format('woff2'), + url('/assets/css/montserrat/montserrat-bold-webfont.woff') format('woff'); + font-weight: bold; + font-style: normal; + +} + + + + +@font-face { + font-family: 'Montserrat'; + src: url('/assets/css/montserrat/montserrat-italic-webfont.woff2') format('woff2'), + url('/assets/css/montserrat/montserrat-italic-webfont.woff') format('woff'); + font-weight: normal; + font-style: italic; + +} + + + + +@font-face { + font-family: 'Montserrat'; + src: url('/assets/css/montserrat/montserrat-regular-webfont.woff2') format('woff2'), + url('/assets/css/montserrat/montserrat-regular-webfont.woff') format('woff'); + font-weight: normal; + font-style: normal; +} diff --git a/themes/c3space/assets/css/montserrat/montserrat-black-webfont.woff b/themes/c3space/assets/css/montserrat/montserrat-black-webfont.woff new file mode 100644 index 0000000..341de59 Binary files /dev/null and b/themes/c3space/assets/css/montserrat/montserrat-black-webfont.woff differ diff --git a/themes/c3space/assets/css/montserrat/montserrat-black-webfont.woff2 b/themes/c3space/assets/css/montserrat/montserrat-black-webfont.woff2 new file mode 100644 index 0000000..67afaa1 Binary files /dev/null and b/themes/c3space/assets/css/montserrat/montserrat-black-webfont.woff2 differ diff --git a/themes/c3space/assets/css/montserrat/montserrat-bold-webfont.woff b/themes/c3space/assets/css/montserrat/montserrat-bold-webfont.woff new file mode 100644 index 0000000..3f8b36b Binary files /dev/null and b/themes/c3space/assets/css/montserrat/montserrat-bold-webfont.woff differ diff --git a/themes/c3space/assets/css/montserrat/montserrat-bold-webfont.woff2 b/themes/c3space/assets/css/montserrat/montserrat-bold-webfont.woff2 new file mode 100644 index 0000000..a241c2d Binary files /dev/null and b/themes/c3space/assets/css/montserrat/montserrat-bold-webfont.woff2 differ diff --git a/themes/c3space/assets/css/montserrat/montserrat-italic-webfont.woff b/themes/c3space/assets/css/montserrat/montserrat-italic-webfont.woff new file mode 100644 index 0000000..180ef8b Binary files /dev/null and b/themes/c3space/assets/css/montserrat/montserrat-italic-webfont.woff differ diff --git a/themes/c3space/assets/css/montserrat/montserrat-italic-webfont.woff2 b/themes/c3space/assets/css/montserrat/montserrat-italic-webfont.woff2 new file mode 100644 index 0000000..9c60ec7 Binary files /dev/null and b/themes/c3space/assets/css/montserrat/montserrat-italic-webfont.woff2 differ diff --git a/themes/c3space/assets/css/montserrat/montserrat-regular-webfont.woff b/themes/c3space/assets/css/montserrat/montserrat-regular-webfont.woff new file mode 100644 index 0000000..417f105 Binary files /dev/null and b/themes/c3space/assets/css/montserrat/montserrat-regular-webfont.woff differ diff --git a/themes/c3space/assets/css/montserrat/montserrat-regular-webfont.woff2 b/themes/c3space/assets/css/montserrat/montserrat-regular-webfont.woff2 new file mode 100644 index 0000000..4a64add Binary files /dev/null and b/themes/c3space/assets/css/montserrat/montserrat-regular-webfont.woff2 differ diff --git a/themes/c3space/assets/css/theme.css b/themes/c3space/assets/css/theme.css new file mode 100644 index 0000000..4c349cb --- /dev/null +++ b/themes/c3space/assets/css/theme.css @@ -0,0 +1,426 @@ +@charset "UTF-8"; + +/* + Copyright © 2014-2019 Daniel Aleksandersen and others. + + Permission is hereby granted, free of charge, to any + person obtaining a copy of this software and associated + documentation files (the "Software"), to deal in the + Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the + Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice + shall be included in all copies or substantial portions of + the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS + OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ + +body { + color: #BFBFBF; + background-color: #232323; + background-image: url('/assets/background.jpg'); + background-repeat: no-repeat; + background-position: center; + font-family: 'Montserrat', Arial, sans-serif; + font-size: 17px; + line-height: 1.4; + padding: 1em; +} + +#container { + margin: 1em auto; + max-width: 770px; + background-color: #131313; + padding: 1em; +} + + +#menu ul, +#menu ul li, +.postpromonav .tags, +.postpromonav .tags li, +.pager, +.pager li, +#toptranslations ul, +#toptranslations ul li { + list-style: none; + padding-left: 0; + padding-right: 0; + font-family: 'Montserrat Black'; +} + +#toptranslations ul { + display: inline; +} + +#menu ul li, +#toptranslations ul li { + display: inline-block; + margin-right: 1.5em; +} + +#toptranslations h2 { + display: inline; + font-size: 1em; + margin-right: 1.5em; +} + +#menu ul li:dir(rtl), +#toptranslations ul li:dir(rtl), +#toptranslations h2:dir(rtl) { + margin-left: 1.5em; + margin-right: 0; +} + +#toptranslations { + text-align: right; + float: right; +} + +#toptranslations:dir(rtl) { + text-align: left; + float: left; +} + +.posttranslations h3, .translationslist h3 { + display: inline; + font-size: 1em; +} + +.entry-title { + font-size: 2em; + /*font-family: 'Montserrat Black';*/ +} + +.entry-title .u-url { + color: #e64e4e; +} + + +.posttranslations h3:last-child, .translationslist h3:last-child { + display: none; +} + +.postindex article { + border-bottom: 1px solid #4F5151; + padding-bottom: 1em; +} +#header { + border-bottom: 1px solid #4F5151; +} +#footer { + border-top: 1px solid #4F5151; +} + +/* Tags */ +.postpromonav { + border-bottom: 1px solid #4F5151; + border-top: 1px solid #4F5151; + margin-top: 1em; + padding: .5em 0; +} +.postpromonav .tags { + text-align: center; +} +.metadata p:before, +.postpromonav .tags li:before, +.postlist .listdate:after, +.translationslist p:before { + content: " — "; +} +.postlist li { + margin-bottom: .33em; +} + +/* Post and archive pagers */ +.postindexpager .pager .next:before { + content: "↓ "; +} +.postindexpager .pager .previous:before, +.archivenav .pager .up:before { + content: "↑ "; +} +.postpromonav .pager .next:after, +.archivenav .pager .next:after { + content: " →"; +} +.postpromonav .pager .previous:dir(rtl):after, +.archivenav .pager .previous:dir(rtl):after { + content: " →"; +} +.postpromonav .pager .previous:before, +.archivenav .pager .previous:before { + content: "← "; +} +.postpromonav .pager .next:dir(rtl):before, +.archivenav .pager .next:dir(rtl):before { + content: "← "; +} + +.metadata p:first-of-type:before, +.postpromonav .tags li:first-of-type:before, +.translationslist p:first-of-type:before { + content: ""; +} +.postpromonav .pager { + clear: both; + height: 1em; +} +.postpromonav .tags li, +.postpromonav .pager li, +.archivenav .pager li { + display: inline-block; +} +.archivenav .pager { + text-align: center +} +.postpromonav .pager .next, +.archivenav .pager .next { + float: right; +} +.postpromonav .pager .next:dir(rtl), +.archivenav .pager .next:dir(rtl) { + float: left; +} + +.postpromonav .pager .previous, +.archivenav .pager .previous { + float: left; +} +.postpromonav .pager .previous:dir(rtl), +.archivenav .pager .previous:dir(rtl) { + float: right; +} + +.archivenav .pager .disabled, +.archivenav .pager .disabled a, +.archivenav .pager .disabled:link { + color: #888; + cursor: not-allowed; +} + +.metadata p, +.translationslist p { + display: inline; +} + +#brand { + font-size: 3em; + line-height: 1; + text-align: center; +} + +/* Links */ +:link { + color: #119ad4; + text-decoration: none; +} +:visited { + color: #119ad4; +} + + +#brand :link, +#brand :visited { + color: inherit; +} + +/* Images */ +img { + border: none; + line-height: 1; +} + +.postpage img, +.postpage object, +.postindex article img, +.postindex article object { + height: auto; + max-width: 100%; +} + +/* Comment helpers */ +#disqus_thread { + min-height: 325px; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; +} + +.breadcrumb > li { + display: inline-block; + margin-right: 0; + margin-left: 0; +} + +.breadcrumb > li:after { + content: ' / '; + color: #888; +} + +.breadcrumb > li:last-of-type:after { + content: ''; + margin-left: 0; +} + +.thumbnails { + list-style: none; + padding: 0; +} + +.thumbnails > li { + display: inline-block; + margin-right: 10px; +} + +.thumbnails > li:last-of-type { + margin-right: 0; +} + +.codetable .linenos { + padding-right: 10px; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + margin: 0; + overflow: visible; + clip: auto; +} + +pre.code, code { + white-space: pre; + word-wrap: normal; + overflow: auto; +} + +/* SOURCE: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ +@media print { + *, + *:before, + *:after { + background: transparent !important; + color: #000 !important; /* Black prints faster: http://www.sanbeiji.com/archives/953 */ + box-shadow: none !important; + text-shadow: none !important; + font-family: Garamond, Junicode, serif; + } + + body { + font-size: 12pt; + } + + a, + a:visited { + text-decoration: underline; + } + + a[href]:after { + content: " (" attr(href) ")"; + } + + abbr[title]:after { + content: " (" attr(title) ")"; + } + + /* + * Don't show links that are fragment identifiers, + * or use the `javascript:` pseudo protocol + */ + + a[href^="#"]:after, + a[href^="data:"]:after, + a[href^="javascript:"]:after { + content: ""; + } + + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + + /* + * Printing Tables: + * http://css-discuss.incutio.com/wiki/Printing_Tables + */ + + 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; + } + + .hidden-print { + display: none !important; + } + + article .entry-title a[href]:after, + article .metadata a[href]:after, + article .tags a[href]:after { + content: ""; + } + + article .metadata .sourceline { + display: none; + } + + article .metadata .linkline a[href]:after { + content: " (" attr(href) ")"; + } + + #header { + display: none; + } + + .postpromonav { + padding: 0; + } +} diff --git a/themes/c3space/templates/assets/background.jpg b/themes/c3space/templates/assets/background.jpg deleted file mode 100644 index 84fedfe..0000000 Binary files a/themes/c3space/templates/assets/background.jpg and /dev/null differ diff --git a/themes/c3space/templates/base_helper.tmpl b/themes/c3space/templates/base_helper.tmpl index 073be43..1f2ba48 100644 --- a/themes/c3space/templates/base_helper.tmpl +++ b/themes/c3space/templates/base_helper.tmpl @@ -79,6 +79,7 @@ {% endmacro %} {% macro html_stylesheets() %} + {% if use_bundles %} {% if use_cdn %}