diff --git a/web/themes/dcb2017/css/style.css b/web/themes/dcb2017/css/style.css new file mode 100644 index 000000000..85838f0b1 --- /dev/null +++ b/web/themes/dcb2017/css/style.css @@ -0,0 +1,93 @@ +html { + font-family: 'Poppins', sans-serif; + font-size: 16px; } + +body { + background: white; } + +.region-header { + margin: 0 auto; + max-width: 72rem; + overflow: hidden; } + +.region-featured { + position: relative; } + .region-featured:after { + background-image: url("../images/dcb-bg.jpg"); + background-size: cover; + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: -1; } + +.featured-footer { + background: black; + color: white; + font-size: 1.2rem; + font-weight: bold; + padding: 1rem; + text-align: center; } + +.region-content { + margin: 0 auto; + max-width: 72rem; } + +.region-footer { + margin: 0 auto; + max-width: 72rem; } + +ul.menu { + margin: 0; + padding: 0; } + ul.menu li.menu-item { + display: inline-block; + padding: 1rem 1.5rem; + text-transform: uppercase; } + ul.menu li.menu-item a { + color: black; + text-decoration: none; } + ul.menu li.menu-item a:hover, ul.menu li.menu-item a:focus, ul.menu li.menu-item a.is-active { + color: #44efb9; } + +nav.menu--main { + float: right; + font-weight: bold; + margin: 0.8rem; } + +.block-system-branding-block { + float: left; + margin: 0.5em 2em; } + +.site-logo img { + display: block; + width: 11rem; } + +#block-homepagehero { + font-size: 1.8rem; + line-height: 1.2; + margin: auto; + max-width: 30rem; + padding: 10rem 1rem; + text-align: center; } + +.form-item > label { + display: block; + font-weight: bold; } + .form-item > label.option { + display: inline; + font-weight: normal; } + +.form-submit { + background: #b33ee9; + border: 0; + color: white; + font-weight: bold; + padding: 0.5rem 1rem; + text-transform: uppercase; } + .form-submit:hover, .form-submit:focus { + background: #44efb9; } + +/*# sourceMappingURL=style.css.map */ diff --git a/web/themes/dcb2017/css/style.css.map b/web/themes/dcb2017/css/style.css.map new file mode 100644 index 000000000..50687a7d1 --- /dev/null +++ b/web/themes/dcb2017/css/style.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["_global.scss","layout/_header.scss","layout/_featured.scss","layout/_content.scss","layout/_footer.scss","components/_menus.scss","base/_variables.scss","components/_blocks.scss","components/_forms.scss","base/_mixins.scss"],"names":[],"mappings":"AAAA;EACE,mCAAmC;EACnC,gBAAgB,EACjB;;AAED;EACE,kBAAkB,EACnB;;ACPD;EACE,eAAe;EACf,iBAAiB;EACjB,iBAAiB,EAClB;;ACJD;EACE,mBAAmB,EAapB;EAdD;IAII,8CAAqB;IACrB,uBAAuB;IACvB,YAAY;IACZ,mBAAmB;IACnB,OAAO;IACP,QAAQ;IACR,SAAS;IACT,UAAU;IACV,YAAY,EACb;;AAGH;EACE,kBAAkB;EAClB,aAAa;EACb,kBAAkB;EAClB,kBAAkB;EAClB,cAAc;EACd,mBAAmB,EACpB;;ACvBD;EACE,eAAe;EACf,iBAAiB,EAClB;;ACHD;EACE,eAAe;EACf,iBAAiB,EAClB;;ACHD;EACE,UAAU;EACV,WAAW,EAkBZ;EAhBG;IACA,sBAAsB;IACtB,qBAAqB;IACrB,0BAA0B,EAY3B;IAnBH;MAUM,aAAa;MACb,sBAAsB,EAOvB;MAlBL;QAgBQ,eCdW,EDeZ;;AAKJ;EACD,aAAa;EACb,kBAAkB;EAClB,eAAe,EAChB;;AE1BD;EACE,YAAY;EACZ,kBAAkB,EACnB;;AAED;EACE,eAAe;EACf,aAAa,EACd;;AAED;EACE,kBAAkB;EAClB,iBAAiB;EACjB,aAAa;EACb,iBAAiB;EACjB,oBAAoB;EACpB,mBAAmB,EACpB;;ACjBY;EACX,eAAe;EACf,kBAAkB,EAMnB;EARY;IAKT,gBAAgB;IAChB,oBAAoB,EACrB;;AAGH;ECTE,oBHEgB;EGDhB,UAAU;EACV,aAAa;EACb,kBAAkB;EAClB,qBAAqB;EACrB,0BAA0B,EDM3B;EAFD;ICAI,oBHRe,EGShB","file":"style.css","sourcesContent":["html {\n font-family: 'Poppins', sans-serif;\n font-size: 16px;\n}\n\nbody {\n background: white;\n}\n\n",".region-header {\n margin: 0 auto;\n max-width: 72rem;\n overflow: hidden;\n}\n",".region-featured {\n position: relative;\n\n &:after {\n background-image: url('../images/dcb-bg.jpg');\n background-size: cover;\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: -1;\n }\n}\n\n.featured-footer {\n background: black;\n color: white;\n font-size: 1.2rem;\n font-weight: bold;\n padding: 1rem;\n text-align: center;\n}\n",".region-content {\n margin: 0 auto;\n max-width: 72rem;\n}\n",".region-footer {\n margin: 0 auto;\n max-width: 72rem;\n}\n","ul.menu {\n margin: 0;\n padding: 0;\n\n li.menu-item {\n display: inline-block;\n padding: 1rem 1.5rem;\n text-transform: uppercase;\n\n a {\n color: black;\n text-decoration: none;\n\n &:hover,\n &:focus,\n &.is-active {\n color: $dcb-green;\n }\n }\n }\n}\n\nnav.menu--main {\n float: right;\n font-weight: bold;\n margin: 0.8rem;\n}\n","// Custom variables, colours etc.\n\n$dcb-green: #44efb9;\n$dcb-blue: #b33ee9;\n$dcb-purple: #ec16a8;\n",".block-system-branding-block {\n float: left;\n margin: 0.5em 2em;\n}\n\n.site-logo img {\n display: block;\n width: 11rem;\n}\n\n#block-homepagehero {\n font-size: 1.8rem;\n line-height: 1.2;\n margin: auto;\n max-width: 30rem;\n padding: 10rem 1rem;\n text-align: center;\n}\n",".form-item > label {\n display: block;\n font-weight: bold;\n\n &.option {\n display: inline;\n font-weight: normal;\n }\n}\n\n.form-submit {\n @include button;\n}\n","@mixin button {\n background: $dcb-blue;\n border: 0;\n color: white;\n font-weight: bold;\n padding: 0.5rem 1rem;\n text-transform: uppercase;\n\n &:hover,\n &:focus {\n background: $dcb-green;\n }\n}\n"]} \ No newline at end of file diff --git a/web/themes/dcb2017/dcb2017.info.yml b/web/themes/dcb2017/dcb2017.info.yml new file mode 100644 index 000000000..992470e6a --- /dev/null +++ b/web/themes/dcb2017/dcb2017.info.yml @@ -0,0 +1,15 @@ +name: Drupalcamp Bristol 2017 +type: theme +description: Theme for the new Drupalcamp Bristol 2017 site based on classy. +core: 8.x +base theme: classy +libraries: + - dcb2017/global-styling + - dcb2017/fonts + +# Regions +regions: + header: Header + featured: Featured + content: Content + footer: Footer diff --git a/web/themes/dcb2017/dcb2017.libraries.yml b/web/themes/dcb2017/dcb2017.libraries.yml new file mode 100644 index 000000000..bde404387 --- /dev/null +++ b/web/themes/dcb2017/dcb2017.libraries.yml @@ -0,0 +1,9 @@ +global-styling: + css: + component: + css/style.css: {} + +fonts: + css: + theme: + //fonts.googleapis.com/css?family=Poppins: { type: external } diff --git a/web/themes/dcb2017/dcb2017.theme b/web/themes/dcb2017/dcb2017.theme new file mode 100644 index 000000000..ecde5b3bd --- /dev/null +++ b/web/themes/dcb2017/dcb2017.theme @@ -0,0 +1,15 @@ +<?php + +/** + * Theming stuff goes here! + */ + +/** + * Implements template_preprocess_html(). + */ +function dcb2017_preprocess_html(&$variables) { + if (\Drupal::service('path.matcher')->isFrontPage()) { + $site_config = \Drupal::config('system.site'); + $variables['head_title'] = $site_config->get('name'); + } +} diff --git a/web/themes/dcb2017/gulpfile.js b/web/themes/dcb2017/gulpfile.js new file mode 100644 index 000000000..85485cef7 --- /dev/null +++ b/web/themes/dcb2017/gulpfile.js @@ -0,0 +1,46 @@ +/** + * @file gulpfile.js + * + * Provides gulp tasks for building theme components. + */ + +'use strict'; + +var gulp = require('gulp'), + sass = require('gulp-sass'), + prefix = require('gulp-autoprefixer'), + sourcemaps = require('gulp-sourcemaps'); + +/** + * @task sass + * + * Compile css from scss. + */ +gulp.task('sass', function () { + return gulp.src('sass/**/*.scss') + .pipe(sourcemaps.init()) + .pipe(sass({ + // Include the bootstrap library. + //includePaths: ['./node_modules/bootstrap-sass/assets/stylesheets'] + })) + .pipe(prefix(['last 15 versions', '> 1%', 'ie 8', 'ie 7'], { cascade: true })) + .pipe(sourcemaps.write('')) + .pipe(gulp.dest('css')); +}); + +/** + * @task watch + * + * Watch scss files for changes & recompile. + */ +gulp.task('watch', function () { + gulp.watch(['sass/*.scss', 'sass/**/*.scss'], ['sass']); +}); + +/** + * @task default + * + * Default task, running just `gulp` will + * compile & watch files. + */ +gulp.task('default', ['sass', 'watch']); diff --git a/web/themes/dcb2017/images/dcb-bg.jpg b/web/themes/dcb2017/images/dcb-bg.jpg new file mode 100644 index 000000000..042d3698f Binary files /dev/null and b/web/themes/dcb2017/images/dcb-bg.jpg differ diff --git a/web/themes/dcb2017/images/logo-with-dates.svg b/web/themes/dcb2017/images/logo-with-dates.svg new file mode 100644 index 000000000..17e12edd3 --- /dev/null +++ b/web/themes/dcb2017/images/logo-with-dates.svg @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<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" + version="1.1" + id="svg4469" + viewBox="0 0 447.85472 224.02841" + height="224.02841" + width="447.85471"> + <defs + id="defs4471"> + <clipPath + id="clipPath28" + clipPathUnits="userSpaceOnUse"> + <path + id="path30" + d="m 0,430.667 852.454,0 L 852.454,0 0,0 0,430.667 Z" /> + </clipPath> + </defs> + <metadata + id="metadata4474"> + <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 + transform="translate(271.78452,-420.348)" + id="layer1"> + <g + id="text20" + style="font-variant:normal;font-weight:600;font-stretch:normal;font-size:71.76974487px;font-family:'Poppins SemiBold';-inkscape-font-specification:Poppins-SemiBold;writing-mode:lr-tb;fill:#191919;fill-opacity:1;fill-rule:nonzero;stroke:none" /> + <g + id="g24" + transform="matrix(1.25,0,0,-1.25,-757.37765,790.94616)"> + <g + clip-path="url(#clipPath28)" + id="g26"> + <g + transform="translate(429.1894,183.3579)" + id="g32" /> + <g + transform="translate(482.9052,208.5889)" + id="g36" /> + <g + transform="translate(575.1532,196.707)" + id="g42" /> + <g + transform="translate(578.5497,233.8999)" + id="g46" /> + <g + transform="translate(720.4462,181.4282)" + id="g50" /> + <g + transform="translate(687.8475,182.3374)" + id="g54" /> + </g> + </g> + <g + id="text58" + style="font-variant:normal;font-weight:600;font-stretch:normal;font-size:45.85287476px;font-family:'Poppins SemiBold';-inkscape-font-specification:Poppins-SemiBold;writing-mode:lr-tb;fill:#1d1d1b;fill-opacity:1;fill-rule:nonzero;stroke:none"> + <path + d="m -236.94922,423.89062 0,19.52149 c -2.87079,-4.49757 -7.03378,-6.74609 -12.48828,-6.74609 -5.4545,0 -9.95155,1.91446 -13.49219,5.74218 -3.54064,3.77988 -5.31054,8.65981 -5.31054,14.64063 0,5.9808 1.7699,10.90959 5.31054,14.78515 3.58849,3.82772 8.06112,5.74024 13.41992,5.74024 5.35881,0 9.54622,-2.41555 12.56055,-7.24805 l 0,6.67383 10.04688,0 0,-53.10938 -10.04688,0 z m 167.222658,0 0,53.10938 10.11914,0 0,-53.10938 -10.11914,0 z m -130.548828,12.7754 c -5.07173,0 -8.94755,2.53569 -11.62695,7.60742 l 0,-7.03321 -10.11914,0 0,39.75977 10.11914,0 0,-19.95117 c 0,-3.68418 0.76578,-6.26871 2.29687,-7.75195 1.53109,-1.53109 3.80403,-2.29493 6.81836,-2.29493 l 2.51172,0 0,-10.33593 z m 66.24414,0 c -5.45451,0 -9.59308,2.24852 -12.41602,6.74609 l 0,-6.17188 -10.12109,0 0,58.70704 10.12109,0 0,-25.6211 c 2.96648,4.8325 7.12752,7.24805 12.48633,7.24805 5.40666,0 9.88124,-1.91252 13.42188,-5.74024 2.63947,-2.85348 4.28913,-6.30934 4.96094,-10.35937 0.67914,4.02926 2.31897,7.48674 4.94335,10.35937 3.58849,3.82772 8.06112,5.74024 13.419926,5.74024 5.358808,0 9.546218,-2.41555 12.560547,-7.24805 l 0,6.67383 10.048828,0 0,-39.75977 -10.048828,0 0,6.17188 c -2.87079,-4.49757 -7.03378,-6.74609 -12.488281,-6.74609 -5.454502,0 -9.951552,1.91446 -13.492192,5.74218 -2.63668,2.81484 -4.28386,6.2439 -4.95703,10.2793 -0.67764,-4.04343 -2.31978,-7.47428 -4.94726,-10.2793 -3.54064,-3.82772 -8.03769,-5.74218 -13.49219,-5.74218 z m 96.099609,0 c -5.789426,0 -10.502338,1.86563 -14.138671,5.59765 -3.636335,3.73203 -5.455079,8.68522 -5.455079,14.85742 0,6.1722 1.818744,11.12345 5.455079,14.85547 3.636334,3.73203 8.349245,5.59766 14.138671,5.59766 4.736803,0 8.730813,-1.21999 11.984375,-3.66016 3.273701,-2.41969 5.484028,-5.69131 6.640625,-9.80468 0.866814,2.90552 2.244342,5.50784 4.269532,7.7246 3.588487,3.82772 8.0611139,5.74024 13.4199215,5.74024 5.3588076,0 9.5462173,-2.41555 12.5605465,-7.24805 l 0,6.67383 10.046875,0 0,-39.75977 -10.046875,0 0,6.17188 c -2.8707897,-4.49757 -7.0337802,-6.74609 -12.4882809,-6.74609 -5.4545006,0 -9.9515471,1.91446 -13.4921871,5.74218 -2.029599,2.16674 -3.409218,4.73701 -4.275391,7.62696 -1.110871,-4.24315 -3.269502,-7.53075 -6.490234,-9.85157 -3.253562,-2.34448 -7.296411,-3.51757 -12.128907,-3.51757 z m 86.267579,0 c -5.693734,0 -9.80984,2.17721 -12.345704,6.53125 l 0,-5.95704 -10.11914,0 0,39.75977 10.11914,0 0,-21.96094 c 0,-3.11002 0.790206,-5.47869 2.369141,-7.10547 1.626781,-1.67462 3.804,-2.51171 6.53125,-2.51171 2.727251,0 4.88005,0.83709 6.458984,2.51171 1.578935,1.62678 2.369141,3.99545 2.369141,7.10547 l 0,21.96094 10.046875,0 0,-21.96094 c 0,-3.11002 0.790206,-5.47869 2.369141,-7.10547 1.62678,-1.67462 3.803999,-2.51171 6.53125,-2.51171 2.72725,0 4.880049,0.83709 6.458984,2.51171 1.578934,1.62678 2.367188,3.99545 2.367188,7.10547 l 0,21.96094 10.048828,0 0,-23.39648 c 0,-5.35881 -1.460271,-9.5218 -4.378907,-12.48829 -2.87079,-2.96648 -6.673353,-4.44921 -11.410156,-4.44921 -3.014329,0 -5.741469,0.7189 -8.181641,2.15429 -2.392325,1.4354 -4.282373,3.39675 -5.669921,5.88477 -1.291856,-2.58372 -3.135019,-4.56949 -5.527344,-5.95703 -2.344478,-1.38755 -5.02278,-2.08203 -8.037109,-2.08203 z m 70.261722,0 c -5.4545,0 -9.59307,2.24852 -12.41602,6.74609 l 0,-6.17188 -10.11914,0 0,58.70704 10.11914,0 0,-25.6211 c 2.96649,4.8325 7.12948,7.24805 12.48828,7.24805 5.40666,0 9.87928,-1.91252 13.41992,-5.74024 3.54064,-3.82772 5.3125,-8.73208 5.3125,-14.71289 0,-6.02866 -1.77186,-10.93301 -5.3125,-14.71289 -3.54064,-3.82772 -8.03768,-5.74218 -13.49218,-5.74218 z m -317.93946,0.57421 0,23.32618 c 0,5.31096 1.43585,9.472 4.30664,12.48632 2.87079,2.96648 6.55321,4.45118 11.05078,4.45118 5.74158,0 9.88211,-2.17723 12.41797,-6.53125 l 0,6.02734 10.11914,0 0,-39.75977 -10.11914,0 0,21.89063 c 0,3.11002 -0.81462,5.50115 -2.4414,7.17578 -1.57894,1.67463 -3.73174,2.51172 -6.45899,2.51172 -2.72725,0 -4.88005,-0.83709 -6.45898,-2.51172 -1.57893,-1.67463 -2.36914,-4.06576 -2.36914,-7.17578 l 0,-21.89063 -10.04688,0 z m 161.410159,7.9668 c 3.875566,0 6.458145,1.64977 7.75,4.95117 l 10.837891,0 c -0.621071,2.11883 -1.003906,4.38573 -1.003906,6.89063 0,2.52144 0.384367,4.81367 1.013672,6.96094 l -10.847657,0 c -1.339702,3.34925 -3.92228,5.02539 -7.75,5.02539 -2.918636,0 -5.215997,-1.05297 -6.890625,-3.15821 -1.62678,-2.15309 -2.439453,-5.07168 -2.439453,-8.75586 0,-3.68418 0.812673,-6.57834 2.439453,-8.68359 1.674628,-2.15309 3.971989,-3.23047 6.890625,-3.23047 z M -247.5,445.42188 c 2.82294,0 5.28733,1.05295 7.39258,3.1582 2.10524,2.0574 3.1582,4.90468 3.1582,8.54101 0,3.63634 -1.05296,6.50609 -3.1582,8.61133 -2.10525,2.0574 -4.56964,3.08594 -7.39258,3.08594 -2.7751,0 -5.21507,-1.05101 -7.32031,-3.15625 -2.10525,-2.10525 -3.15821,-4.97695 -3.15821,-8.61328 0,-3.63634 1.02854,-6.48362 3.08594,-8.54102 2.10525,-2.0574 4.56963,-3.08593 7.39258,-3.08593 z m 111.53125,0 c 2.82295,-10e-6 5.26291,1.02853 7.32031,3.08593 2.10525,2.0574 3.15821,4.90468 3.15821,8.54102 0,3.63633 -1.05296,6.50803 -3.15821,8.61328 -2.0574,2.10524 -4.49736,3.15625 -7.32031,3.15625 -2.82294,0 -5.28733,-1.02854 -7.39258,-3.08594 -2.0574,-2.10524 -3.08594,-4.97499 -3.08594,-8.61133 0,-3.63633 1.02854,-6.48361 3.08594,-8.54101 2.10525,-2.10525 4.56964,-3.1582 7.39258,-3.1582 z m 40.763672,0 c 2.822943,0 5.287332,1.05295 7.392578,3.1582 2.105246,2.0574 3.158203,4.90468 3.158203,8.54101 0,3.63634 -1.052957,6.50609 -3.158203,8.61133 -2.105246,2.0574 -4.569635,3.08594 -7.392578,3.08594 -2.775097,0 -5.215062,-1.05101 -7.320312,-3.15625 -2.10525,-2.10525 -3.1582,-4.97695 -3.1582,-8.61328 0,-3.63634 1.03049,-6.48362 3.08789,-8.54102 2.10524,-2.0574 4.567679,-3.08593 7.390622,-3.08593 z m 95.59765612,0 c 2.82294328,0 5.28733228,1.05295 7.39257808,3.1582 2.1052462,2.0574 3.1582028,4.90468 3.1582028,8.54101 0,3.63634 -1.0529566,6.50609 -3.1582028,8.61133 -2.1052458,2.0574 -4.5696348,3.08594 -7.39257808,3.08594 -2.77509682,0 -5.21506672,-1.05101 -7.32031252,-3.15625 -2.105246,-2.10525 -3.1582036,-4.97695 -3.1582036,-8.61328 0,-3.63634 1.0285385,-6.48362 3.085938,-8.54102 2.1052459,-2.0574 4.5696348,-3.08593 7.39257812,-3.08593 z m 116.26758188,0 c 2.82294,-10e-6 5.26291,1.02853 7.32031,3.08593 2.10525,2.0574 3.1582,4.90468 3.1582,8.54102 0,3.63633 -1.05295,6.50803 -3.1582,8.61328 -2.0574,2.10524 -4.49737,3.15625 -7.32031,3.15625 -2.82294,0 -5.28734,-1.02854 -7.39258,-3.08594 -2.0574,-2.10524 -3.08594,-4.97499 -3.08594,-8.61133 0,-3.63633 1.02854,-6.48361 3.08594,-8.54101 2.10524,-2.10525 4.56964,-3.1582 7.39258,-3.1582 z m -48.080082,38.37695 c -0.67875,6.5775 -2.689922,9.25031 -4.982422,11.16406 -4.88625,3.8075 -7.957812,4.96336 -12.164062,7.25586 -3.54875,1.815 -22.785156,13.25766 -22.785156,37.87891 0,24.62125 20.773593,42.74218 43.839843,42.74218 23.08625,0 43.099609,-16.68562 43.099609,-41.98437 0,-25.29875 -18.758124,-36.74297 -21.828124,-38.63672 -5.06375,-3.17 -9.868594,-4.40469 -14.652344,-7.55469 -2.97125,-1.99375 -7.078594,-6.77898 -10.527344,-10.86523 z m -135.505859,13.61523 c -8.6725,0 -15.808125,2.2543 -21.390625,6.7793 -5.5825,4.505 -8.373047,10.5057 -8.373047,18.00195 0,3.8075 0.737578,7.11696 2.173828,9.90821 1.455,2.79125 3.349141,4.94367 5.681641,6.41992 2.3325,1.495 4.922656,2.77015 7.753906,3.84765 2.81125,1.07625 5.661953,1.97391 8.533203,2.69141 2.87125,0.7375 5.462422,1.51406 7.794922,2.35156 2.3325,0.8375 4.226641,1.99422 5.681641,3.44922 1.456249,1.455 2.173828,3.3293 2.173828,5.62305 0,2.2925 -0.797579,4.18515 -2.392578,5.66015 -1.615001,1.495 -3.828907,2.25391 -6.660157,2.25391 -6.04125,0 -9.329687,-3.20969 -9.867187,-9.64844 l -20.873047,0 c 0,8.03375 2.77,14.23508 8.3125,18.58008 5.54125,4.36625 12.860156,6.53906 21.910156,6.53906 9.05125,0 16.367656,-2.43234 21.910156,-7.27734 5.54125,-4.86375 8.3125,-10.68562 8.3125,-17.48437 0,-3.90751 -0.736406,-7.25563 -2.191406,-10.04688 -1.435,-2.79125 -3.331562,-4.94547 -5.664062,-6.48047 -2.3325,-1.515 -4.923907,-2.80867 -7.753907,-3.82617 -2.83125,-1.03625 -5.661953,-1.91484 -8.533203,-2.65234 -2.86875,-0.7175 -5.462422,-1.49547 -7.794922,-2.29297 -2.3325,-0.7975 -4.22664,-1.95274 -5.68164,-3.42774 -1.455,-1.495 -2.173828,-3.46937 -2.173828,-5.92187 0,-2.4325 0.778515,-4.30532 2.353515,-5.60156 1.555,-1.31501 3.568281,-1.95508 6.019532,-1.95508 2.4325,0 4.447187,0.77851 6.023437,2.35351 1.55375,1.555 2.489844,3.80922 2.808594,6.69922 l 21.3125,0 c -0.21875,-8.4925 -3.011016,-14.69312 -8.353516,-18.64062 -5.3625,-3.9275 -12.381484,-5.90235 -21.052734,-5.90235 z m -195.013669,1.15625 0,80.50196 36.92187,0 c 8.41375,0 14.97203,-1.89416 19.67578,-5.68165 4.70625,-3.7875 7.0586,-8.89053 7.0586,-15.31054 0,-5.04374 -1.61547,-9.43024 -4.82422,-13.17774 -3.21125,-3.7475 -7.53649,-5.99985 -12.95899,-6.77734 10.62625,-3.21001 15.94727,-9.34969 15.94727,-18.46094 0,-6.12 -2.42992,-11.16461 -7.29492,-15.13086 -4.845,-3.9875 -11.36414,-5.96289 -19.55664,-5.96289 l -34.96875,0 z m 69.37695,0 0,80.50196 19.61719,0 0,-31.31836 2.29297,0 18.12304,31.31836 22.92383,0 -19.71484,-32.79493 c 6.42,-1.83375 11.04375,-4.9832 13.875,-9.4082 2.83,-4.42625 4.24609,-8.99125 4.24609,-13.65625 0,-6.79875 -2.61242,-12.60078 -7.79492,-17.42578 -5.20375,-4.82375 -12.48102,-7.2168 -21.79102,-7.2168 l -31.77734,0 z m 68.69922,0 0,80.50196 19.61719,0 0,-80.50196 -19.61719,0 z m 89.671874,0 0,14.89258 21.910156,0 0,65.60938 19.6191406,0 0,-65.60938 22.0078124,0 0,-14.89258 -63.537109,0 z m 157.755856,0 0,80.50391 44.03907,0 0,-14.91406 -24.42383,0 0,-65.58985 -19.61524,0 z m -365.88867,14.89258 12.83984,0 c 2.83126,0 5.10461,0.75891 6.81836,2.25391 1.715,1.475 2.5918,3.66906 2.5918,6.53906 0,2.85124 -0.8768,5.02226 -2.5918,6.47852 -1.71375,1.43498 -3.98711,2.17382 -6.81836,2.17382 l -12.83984,0 0,-17.44531 z m 69.37891,0 12.16015,0 c 2.8925,0 5.22305,0.93773 6.99805,2.77149 1.75375,1.83375 2.63281,4.18781 2.63281,7.03906 0,2.87 -0.85804,5.1825 -2.59179,6.9375 -1.715,1.77375 -4.06782,2.65039 -7.03907,2.65039 l -12.16015,0 0,-19.39844 z M 62.898438,537.54688 C 74.082188,537.44687 81.8575,548.60977 87.5,548.50977 c 4.785,-0.0788 13.99422,-9.42774 18.48047,-9.42774 4.78375,0 6.11914,4.94406 6.11914,7.91406 0,2.95125 -0.9375,8.29305 -3.25,11.62305 -2.2925,3.34875 -3.72797,4.6043 -6.41797,4.4043 -3.449994,-0.29875 -10.327421,-10.98336 -14.732421,-11.16211 -5.5625,-0.2 -17.625,11.54101 -27.09375,11.54101 -5.76125,0 -7.475625,-0.8575 -9.390625,-2.09375 -2.87125,-2.0125 -4.306563,-5.06203 -4.226563,-9.26953 0.1,-7.43625 7.098906,-14.39344 15.910157,-14.49218 z m -305.222658,8.27343 15.01367,0 c 2.67125,0 4.86407,0.83798 6.53907,2.51172 1.675,1.69501 2.53125,3.94609 2.53125,6.77735 0,2.83123 -0.87664,5.04367 -2.65039,6.63867 -1.75375,1.615 -3.96813,2.41406 -6.64063,2.41406 l -14.79297,0 0,-18.3418 z m 328.308595,15.64844 c 1.515,0 3.149141,0.0799 4.306641,0.85742 1.15625,0.7575 1.812656,2.47219 2.191406,3.42969 0.39875,0.9575 3.9e-4,1.51531 -0.75586,1.91406 -0.658749,0.37875 -0.758046,0.17961 -1.435546,-1.05664 -0.6575,-1.23625 -1.236719,-2.49219 -4.605469,-2.49219 -3.35,0 -4.386485,1.15594 -6.021485,2.49219 -1.63375,1.335 -2.212734,1.81414 -2.771484,1.05664 -0.57875,-0.7575 -0.399297,-1.53594 0.658203,-2.49219 1.055,-0.9575 2.79125,-2.49289 4.40625,-3.15039 1.635,-0.65875 2.491094,-0.55859 4.027344,-0.55859 z m 8.166016,9.58984 c 0.216718,0.10954 0.336718,0.34969 0.386718,0.53907 0.08,0.37875 0.279063,0.95578 -0.398437,1.61328 -0.47875,0.47875 -4.886328,3.52906 -10.048828,4.00781 -5.16375,0.4775 -12.159688,0.75867 -16.367188,-3.04883 -0.6775,-0.67875 -0.4775,-1.61539 0,-1.99414 0.47875,-0.4 0.858047,-0.67969 1.435547,-0.67969 0.57875,0 0.479063,0.002 0.757813,0.18164 1.915,1.535 4.782578,2.76954 10.923828,2.76954 6.12,0 10.426797,-1.69344 12.341797,-3.14844 0.438125,-0.32875 0.752031,-0.34977 0.96875,-0.24024 z m -347.138671,23.60157 c -3.27084,0 -5.93042,0.84021 -7.97852,2.52148 -2.01752,1.6507 -3.07235,3.97303 -3.16406,6.96875 l 6.2832,0 c 0.12228,-1.00876 0.54956,-1.92465 1.28321,-2.75 0.73364,-0.82535 1.83348,-1.23828 3.30078,-1.23828 1.46729,0 2.59975,0.36596 3.39453,1.09961 0.79479,0.73365 1.19141,1.72715 1.19141,2.98047 0,2.90401 -2.17098,4.35547 -6.51172,4.35547 l -1.32813,0 0,5.27343 1.32813,0 c 2.47605,0 4.28107,0.39858 5.41211,1.19336 1.1616,0.76422 1.74218,1.95604 1.74218,3.57617 0,1.62015 -0.42923,2.87328 -1.28515,3.75977 -0.82536,0.85592 -2.04784,1.2832 -3.66797,1.2832 -1.62014,0 -2.91829,-0.44359 -3.89649,-1.33007 -0.94762,-0.91706 -1.45253,-2.12324 -1.51367,-3.6211 l -6.23633,0 c 0.0917,3.36254 1.22221,5.91384 3.39258,7.65625 2.17037,1.74241 4.9689,2.61524 8.39258,2.61524 3.42369,0 6.11393,-0.87283 8.07031,-2.61524 1.95639,-1.74241 2.9336,-4.03408 2.9336,-6.87695 0,-4.2796 -1.83373,-7.04552 -5.50196,-8.29883 l 0,-0.18359 c 1.25332,-0.42796 2.38382,-1.29883 3.39258,-2.61328 1.00877,-1.34502 1.51367,-2.99674 1.51367,-4.95313 0,-2.53719 -0.93218,-4.63055 -2.79687,-6.28125 -1.86468,-1.68127 -4.44859,-2.52148 -7.75,-2.52148 z m 56.53711,0.22851 0,33.93164 6.46484,0 0,-14.03125 c 0,-1.98696 0.50491,-3.49973 1.51367,-4.53906 1.03934,-1.0699 2.42947,-1.60547 4.17188,-1.60547 1.74241,0 3.11819,0.53557 4.12695,1.60547 1.00876,1.03933 1.51367,2.5521 1.51367,4.53906 l 0,14.03125 6.41993,0 0,-14.94922 c 0,-3.39311 -0.91784,-6.03639 -2.75196,-7.93164 -1.83411,-1.92582 -4.20341,-2.88867 -7.10742,-2.88867 -3.63766,0 -6.26658,1.39014 -7.88672,4.17188 l 0,-12.33399 -6.46484,0 z m 260.810545,0 0,12.47266 c -1.834115,-2.87345 -4.493697,-4.31055 -7.978516,-4.31055 -3.484818,0 -6.357066,1.22248 -8.61914,3.66797 -2.262076,2.41491 -3.394531,5.53244 -3.394531,9.35352 0,3.82107 1.132455,6.96925 3.394531,9.44531 2.292643,2.44548 5.150537,3.66797 8.574219,3.66797 3.423681,0 6.097616,-1.54344 8.023437,-4.63086 l 0,4.26562 6.419922,0 0,-33.93164 -6.419922,0 z m 73.410155,0 0,33.93164 6.4668,0 0,-33.93164 -6.4668,0 z M 4.2929688,595.25586 c -3.33197564,0 -6.0365707,0.93219 -8.1152344,2.79687 -2.048095,1.86469 -3.088572,4.58559 -3.1191406,8.16211 l 6.23632808,0 c 0.0305686,-1.71184 0.45785137,-3.05696 1.28320312,-4.03515 0.8253517,-0.9782 1.9721611,-1.46875 3.4394531,-1.46875 2.9957212,0 4.4941407,1.62106 4.4941407,4.86133 0,1.6507 -0.7501864,3.54574 -2.2480469,5.68554 -0.5808031,0.82536 -1.4823348,1.84953 -2.7050781,3.07227 -1.1921748,1.19217 -2.2000389,2.15502 -3.02539068,2.88867 -0.82535173,0.73365 -2.06414022,1.81913 -3.71484372,3.25586 -1.6507036,1.40615 -2.8731856,2.46098 -3.6679688,3.16406 l 0,4.72266 22.6054684,0 0,-5.27344 -13.3437496,0 c 0.4279601,-0.39739 1.1924997,-1.08431 2.2929687,-2.0625 1.1310376,-1.00876 1.9712499,-1.78961 2.5214844,-2.33984 0.5502345,-0.55024 1.3004208,-1.31478 2.2480469,-2.29297 0.9781946,-0.9782 1.7264276,-1.83276 2.2460936,-2.56641 0.519666,-0.76421 1.055234,-1.63509 1.605469,-2.61328 1.100469,-1.83412 1.65039,-3.82114 1.65039,-5.96094 0,-2.87344 -0.948498,-5.25905 -2.84375,-7.15429 -1.895252,-1.89526 -4.5078677,-2.8418 -7.8398432,-2.8418 z m -231.5117188,0.22852 c -8.22295,0 -12.33398,5.54813 -12.33398,16.64453 0,11.06583 4.11103,16.59961 12.33398,16.59961 8.25351,0 12.38086,-5.53378 12.38086,-16.59961 0,-11.0964 -4.12735,-16.64453 -12.38086,-16.64453 z m 81.66406,1.33007 0,22.46875 c 0,1.31446 -0.32095,2.33667 -0.96289,3.07032 -0.61137,0.70307 -1.46789,1.05468 -2.56836,1.05468 -1.10046,0 -1.95503,-0.35161 -2.5664,-1.05468 -0.61134,-0.73365 -0.93229,-1.75586 -0.96289,-3.07032 l -6.4668,0 c 0,3.08743 0.93414,5.50173 2.79883,7.24414 1.86468,1.74241 4.26268,2.61328 7.19726,2.61328 2.93459,10e-6 5.32019,-0.87087 7.1543,-2.61328 1.86468,-1.74241 2.79687,-4.15671 2.79687,-7.24414 l 0,-22.46875 -6.41992,0 z m 243.250002,0 0,22.46875 c 0,1.31446 -0.32095,2.33667 -0.96289,3.07032 -0.611371,0.70307 -1.46789,1.05468 -2.56836,1.05468 -1.100468,0 -1.956987,-0.35161 -2.568359,-1.05468 -0.611373,-0.73365 -0.932324,-1.75586 -0.962891,-3.07032 l -6.464843,0 c 0,3.08743 0.932191,5.50173 2.796875,7.24414 1.864683,1.74241 4.264634,2.61328 7.199218,2.61328 2.934585,0 5.320182,-0.87087 7.154298,-2.61328 1.86468,-1.74241 2.79687,-4.15671 2.79687,-7.24414 l 0,-22.46875 -6.419918,0 z m -308.636722,0.32032 0,6.2832 -2.70507,0 0,5.27148 2.70507,0 0,12.42774 c 0,2.75117 0.70323,4.72189 2.10938,5.91406 1.40615,1.19217 3.40948,1.78906 6.00781,1.78906 l 4.08008,0 0,-5.41211 -3.07227,0 c -0.97819,0 -1.6651,-0.16765 -2.0625,-0.5039 -0.39739,-0.36682 -0.5957,-0.96176 -0.5957,-1.78711 l 0,-12.42774 5.68555,0 0,-5.27148 -5.68555,0 0,-6.2832 -6.4668,0 z m -16.23047,4.31054 c 1.03934,0 1.94087,0.19831 2.70508,0.59571 0.76422,0.39739 1.3448,0.90229 1.74219,1.51367 0.42796,0.61136 0.76327,1.42092 1.00781,2.42969 0.24456,0.97819 0.39785,1.92668 0.45899,2.84374 0.0917,0.91706 0.13867,2.00255 0.13867,3.25586 0,1.25332 -0.047,2.3388 -0.13867,3.25586 -0.0611,0.91706 -0.21443,1.87991 -0.45899,2.88868 -0.24454,0.97819 -0.57985,1.78774 -1.00781,2.42968 -0.39739,0.61138 -0.97797,1.11629 -1.74219,1.51368 -0.76421,0.39739 -1.66574,0.5957 -2.70508,0.5957 -1.03933,0 -1.94086,-0.19831 -2.70507,-0.5957 -0.76422,-0.39739 -1.36111,-0.9023 -1.78907,-1.51368 -0.39739,-0.64194 -0.71834,-1.45149 -0.96289,-2.42968 -0.24454,-1.00877 -0.4122,-1.97162 -0.5039,-2.88868 -0.0611,-0.91706 -0.0918,-2.00254 -0.0918,-3.25586 0,-1.25331 0.0307,-2.3388 0.0918,-3.25586 0.0917,-0.91706 0.25936,-1.86555 0.5039,-2.84374 0.24455,-1.00877 0.5655,-1.81833 0.96289,-2.42969 0.42796,-0.61138 1.02485,-1.11628 1.78907,-1.51367 0.76421,-0.3974 1.66574,-0.59571 2.70507,-0.59571 z m 136.044927,1.60547 c -3.637661,0 -6.266584,1.39014 -7.886719,4.17188 l 0,-3.80469 -6.464848,0 0,25.40234 6.464848,0 0,-14.03125 c 0,-1.98696 0.504909,-3.49973 1.513672,-4.53906 1.039332,-1.0699 2.429466,-1.60547 4.171875,-1.60547 1.742409,0 3.11819,0.53557 4.126953,1.60547 1.008763,1.03933 1.513672,2.5521 1.513672,4.53906 l 0,14.03125 6.417969,0 0,-14.94922 c 0,-3.39311 -0.915885,-6.03639 -2.75,-7.93164 -1.834115,-1.92582 -4.203407,-2.88867 -7.107422,-2.88867 z m 24.53125,0 c -3.698799,0 -6.724344,1.19183 -9.078125,3.57617 -2.323213,2.35378 -3.486328,5.50197 -3.486328,9.44532 0,3.94334 1.163115,7.12218 3.486328,9.53711 2.323212,2.38434 5.332451,3.57617 9.03125,3.57617 2.995721,0 5.548971,-0.76259 7.658203,-2.29102 2.109232,-1.52843 3.530026,-3.50109 4.263672,-5.91601 l -6.96875,0 c -1.0699,1.83411 -2.721618,2.75195 -4.953125,2.75195 -1.650703,0 -3.010178,-0.50491 -4.080078,-1.51367 -1.069901,-1.00877 -1.681142,-2.33758 -1.833985,-3.98828 l 18.525391,0 c 0.122275,-0.76422 0.181641,-1.59007 0.181641,-2.47657 0,-3.85164 -1.191823,-6.92415 -3.576172,-9.21679 -2.38435,-2.32321 -5.440555,-3.48438 -9.169922,-3.48438 z m 98.996094,0 c -3.637662,0 -6.266584,1.39014 -7.886719,4.17188 l 0,-3.80469 -6.464844,0 0,25.40234 6.464844,0 0,-14.03125 c 0,-1.98696 0.504908,-3.49973 1.513672,-4.53906 1.039331,-1.0699 2.429465,-1.60547 4.171875,-1.60547 1.742409,0 3.11819,0.53557 4.126953,1.60547 1.008763,1.03933 1.513672,2.5521 1.513672,4.53906 l 0,14.03125 6.419922,0 0,-14.94922 c 0,-3.39311 -0.917839,-6.03639 -2.751954,-7.93164 -1.834115,-1.92582 -4.203406,-2.88867 -7.107421,-2.88867 z m -166.216801,0.36719 0,14.90039 c 0,3.39311 0.91784,6.05269 2.75196,7.97852 1.83411,1.89525 4.1871,2.84374 7.06054,2.84374 3.66823,0 6.31346,-1.39013 7.9336,-4.17187 l 0,3.85156 6.46484,0 0,-25.40234 -6.46484,0 0,13.98437 c 0,1.98696 -0.52122,3.51604 -1.56055,4.58594 -1.00877,1.0699 -2.38455,1.60352 -4.12695,1.60352 -1.74241,0 -3.11624,-0.53362 -4.125,-1.60352 -1.00876,-1.0699 -1.51367,-2.59898 -1.51367,-4.58594 l 0,-13.98437 -6.41993,0 z m 243.25,0 0,14.90039 c 0,3.39311 0.91589,6.05269 2.75,7.97852 1.83412,1.89525 4.18905,2.84374 7.0625,2.84374 3.66823,10e-6 6.31151,-1.39013 7.93164,-4.17187 l 0,3.85156 6.4668,0 0,-25.40234 -6.4668,0 0,13.98437 c 0,1.98696 -0.51926,3.51604 -1.55859,4.58594 -1.00876,1.0699 -2.38455,1.60352 -4.12695,1.60352 -1.74242,0 -3.1182,-0.53362 -4.12696,-1.60352 -1.00876,-1.0699 -1.51171,-2.59898 -1.51171,-4.58594 l 0,-13.98437 -6.41993,0 z m 35.81055,0 9.95117,24.94336 -5.27343,12.47265 6.74023,0 15.86523,-37.41601 -6.74023,0 -6.83203,18.06445 -6.4668,-18.06445 -7.24414,0 z m -211.794921,5.08789 c 1.620134,0 2.995916,0.50491 4.126953,1.51367 1.161607,1.00877 1.789154,2.35388 1.880859,4.03516 l -12.013672,0 c 0.21398,-1.68128 0.855881,-3.02639 1.925782,-4.03516 1.100468,-1.00876 2.459942,-1.51367 4.080078,-1.51367 z m 124.169922,0.13867 c 1.803546,0 3.377638,0.67257 4.722656,2.01758 1.345017,1.31445 2.017578,3.13382 2.017578,5.45703 0,2.32321 -0.672561,4.15693 -2.017578,5.50195 -1.345018,1.31445 -2.91911,1.97071 -4.722656,1.97071 -1.772978,0 -3.330764,-0.67257 -4.675782,-2.01758 -1.345018,-1.34502 -2.017578,-3.17874 -2.017578,-5.50195 0,-2.32322 0.656254,-4.14259 1.970703,-5.45704 1.345018,-1.31444 2.91911,-1.9707 4.722657,-1.9707 z m -97.941407,1.14649 0,5.36523 19.488282,0 0,-5.36523 -19.488282,0 z" + id="path5175" /> + </g> + </g> +</svg> diff --git a/web/themes/dcb2017/logo.png b/web/themes/dcb2017/logo.png new file mode 100644 index 000000000..cede3ba20 Binary files /dev/null and b/web/themes/dcb2017/logo.png differ diff --git a/web/themes/dcb2017/logo.svg b/web/themes/dcb2017/logo.svg new file mode 100644 index 000000000..3c28bfb40 --- /dev/null +++ b/web/themes/dcb2017/logo.svg @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<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" + version="1.1" + id="svg4469" + viewBox="0 0 437.84382 160.94935" + height="160.94936" + width="437.84381"> + <defs + id="defs4471"> + <clipPath + id="clipPath28" + clipPathUnits="userSpaceOnUse"> + <path + id="path30" + d="m 0,430.667 852.454,0 L 852.454,0 0,0 0,430.667 Z" /> + </clipPath> + </defs> + <metadata + id="metadata4474"> + <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 + transform="translate(269.24121,-422.8913)" + id="layer1"> + <g + id="text20" + style="font-variant:normal;font-weight:600;font-stretch:normal;font-size:71.76974487px;font-family:'Poppins SemiBold';-inkscape-font-specification:Poppins-SemiBold;writing-mode:lr-tb;fill:#191919;fill-opacity:1;fill-rule:nonzero;stroke:none" /> + <g + id="g24" + transform="matrix(1.25,0,0,-1.25,-757.37765,790.94616)"> + <g + clip-path="url(#clipPath28)" + id="g26"> + <g + transform="translate(429.1894,183.3579)" + id="g32" /> + <g + transform="translate(482.9052,208.5889)" + id="g36" /> + <g + transform="translate(575.1532,196.707)" + id="g42" /> + <g + transform="translate(578.5497,233.8999)" + id="g46" /> + <g + transform="translate(720.4462,181.4282)" + id="g50" /> + <g + transform="translate(687.8475,182.3374)" + id="g54"> + <path + d="m -23.955078,-15.853516 c -18.453,0 -35.072266,14.4983129 -35.072266,34.195313 0,19.697 15.389516,28.850734 18.228516,30.302734 3.365,1.834 5.821469,2.758688 9.730469,5.804688 1.834,1.531 3.445281,3.66964 3.988281,8.93164 2.759,-3.269 6.042922,-7.098359 8.419922,-8.693359 3.827,-2.52 7.671656,-3.506969 11.722656,-6.042969 2.456,-1.515 17.462891,-10.671156 17.462891,-30.910156 0,-20.239 -16.0114691,-33.587891 -34.480469,-33.587891 z m -111.164062,2.376954 c -7.24,0 -13.09434,1.737468 -17.52734,5.2304682 -4.434,3.4760001 -6.6504,8.43823443 -6.6504,14.8652344 l 16.69922,0 c 0.43,-5.151 3.05958,-7.71875 7.89258,-7.71875 2.265,0 4.03613,0.60478128 5.32813,1.80078128 1.276,1.18000002 1.91406,2.69529682 1.91406,4.52929692 0,1.835 -0.57524,3.3340468 -1.74023,4.4980468 -1.16401,1.1640004 -2.67893,2.0897654 -4.54493,2.7597654 -1.866,0.67 -3.93737,1.29086 -6.23437,1.88086 -2.297,0.574 -4.57717,1.293296 -6.82617,2.154297 -2.265,0.861999 -4.33908,1.882124 -6.20508,3.078124 -1.866,1.181 -3.38092,2.901766 -4.54492,5.134766 -1.149,2.233 -1.73829,4.879781 -1.73829,7.925781 0,5.997 2.23322,10.798344 6.69922,14.402344 4.466,3.62 10.17529,5.423828 17.11328,5.423828 6.93701,0 12.5518,-1.580656 16.8418,-4.722656 4.274,-3.158 6.50664,-8.116156 6.68164,-14.910156 l -17.04883,0 c -0.255,2.312 -1.00504,4.113422 -2.24804,5.357422 -1.261,1.26 -2.87236,1.882812 -4.81836,1.882812 -1.961,0 -3.57241,-0.5105 -4.81641,-1.5625 -1.26,-1.037 -1.88086,-2.536422 -1.88086,-4.482422 0,-1.962 0.57233,-3.540328 1.73633,-4.736328 1.164,-1.18 2.68088,-2.10614 4.54688,-2.744141 1.866,-0.638 3.93937,-1.259984 6.23437,-1.833984 2.297,-0.59 4.56313,-1.292094 6.82813,-2.121094 2.264,-0.814 4.33712,-1.8505 6.20312,-3.0625 1.866,-1.228 3.38325,-2.950593 4.53125,-5.183593 1.164,-2.233 1.75391,-4.9111098 1.75391,-8.0371098 0,-5.43899995 -2.21739,-10.0972812 -6.65039,-13.9882812 -4.434,-3.876 -10.2883,-5.820312 -17.5293,-5.820312 z m 152.02539,0.636718 0,64.402344 15.693359,0 0,-52.47265625 19.53711,0 0,-11.92968775 -35.230469,0 z m -308.4043,0.002 0,64.400391 27.97657,0 c 6.554,0 11.76853,-1.579531 15.64453,-4.769531 3.892,-3.173 5.83593,-7.207516 5.83593,-12.103516 0,-7.289 -4.25681,-12.201531 -12.75781,-14.769531 4.338,-0.622 7.79819,-2.423875 10.36719,-5.421875 2.567,-2.998 3.85937,-6.5079689 3.85937,-10.5429689 0,-5.136 -1.88148,-9.2180469 -5.64648,-12.2480469 -3.763,-3.0300002 -9.01119,-4.5449222 -15.74219,-4.5449222 l -29.53711,0 z m 55.50196,0 0,64.400391 25.42187,0 c 7.448,0 13.27059,-1.914437 17.4336,-5.773438 4.14599,-3.86 6.23632,-8.500453 6.23632,-13.939453 0,-3.732 -1.13248,-7.384781 -3.39648,-10.925781 -2.265,-3.54 -5.96556,-6.05839 -11.10156,-7.52539 l 15.77343,-26.236329 -18.33984,0 -14.49805,25.054688 -1.83398,0 0,-25.054688 -15.69531,0 z m 54.96093,0 0,64.400391 15.69336,0 0,-64.400391 -15.69336,0 z m 89.265629,0 0,52.486329 -17.527349,0 0,11.914062 50.82813,0 0,-11.914062 -17.607422,0 0,-52.486329 -15.693359,0 z m 70.261719,1.416016 c 2.336624,-0.277 4.768484,-0.124594 6.833984,0.06641 4.13,0.383 7.6560624,2.8220784 8.0390624,3.2050784 0.542,0.526 0.3823594,0.9899687 0.3183594,1.2929687 -0.08,0.303 -0.3829844,0.7642813 -1.0839844,0.2382813 -1.532,-1.164 -4.9770464,-2.5195313 -9.8730474,-2.5195313 -4.913,0 -7.208234,0.9887969 -8.740234,2.2167969 -0.223,0.144 -0.142469,0.1445312 -0.605469,0.1445312 -0.462,10e-8 -0.765437,-0.2229687 -1.148437,-0.5429687 -0.382,-0.303 -0.542,-1.0527031 0,-1.5957031 1.683,-1.5230004 3.923141,-2.2288594 6.259766,-2.5058594 z m 1.863281,7.5 c 0.335,0.1535 0.776187,0.5167813 1.429687,1.0507812 1.308,1.0690001 2.13836,1.99414068 4.81836,1.99414068 2.695,0 3.157593,-1.00514068 3.6835934,-1.99414068 0.542,-0.9889999 0.6214375,-1.1487031 1.1484375,-0.8457031 0.605,0.319 0.9244687,0.76525 0.6054687,1.53125 -0.303,0.766 -0.8289062,2.13814065 -1.7539062,2.74414065 -0.9260004,0.62200005 -2.2333124,0.68554685 -3.4453124,0.68554685 -1.229,0 -1.914656,0.079734 -3.222656,-0.4472656 -1.292,-0.526 -2.679438,-1.75353125 -3.523438,-2.5195312 -0.846,-0.765 -0.990344,-1.3881407 -0.527344,-1.9941407 0.2235,-0.303 0.45211,-0.3585781 0.78711,-0.2050781 z m -256.160159,3.01171875 11.83399,0 c 2.138,0 3.9095,0.6376875 5.3125,1.92968745 1.419,1.2760001 2.12109,3.0475 2.12109,5.3125 0,2.2650001 -0.68539,4.0658748 -2.02539,5.4218748 -1.34,1.339 -3.09542,2.009766 -5.23242,2.009766 l -12.00977,0 0,-14.67382825 z m 242.343752,0.60742187 c 7.575,1e-8 17.225782,9.39437498 21.675782,9.23437498 C -8.2611563,8.7886406 -2.76,0.239 0,0 c 2.152,-0.16 3.3007656,0.8444375 5.1347656,3.5234375 1.85,2.664 2.5996094,6.9378285 2.5996094,9.2988285 0,2.376 -1.0675313,6.332031 -4.8945312,6.332031 -3.58900005,0 -10.9571563,-7.479969 -14.7851558,-7.542969 -4.514001,-0.08 -10.734641,8.851484 -19.681641,8.771484 -7.049,-0.079 -12.646563,-5.646703 -12.726563,-11.5957026 -0.064,-3.366 1.08386,-5.8060156 3.38086,-7.4160156 1.532,-0.98900005 2.902718,-1.67382818 7.511718,-1.67382818 z M -220.30078,24.130859 l 9.72656,0 c 2.377,0 4.26081,0.702094 5.63281,2.121094 1.387,1.404 2.07227,3.252828 2.07227,5.548828 0,2.281 -0.70247,4.16386 -2.10547,5.63086 -1.42,1.467 -3.28561,2.216797 -5.59961,2.216797 l -9.72656,0 0,-15.517579 z m -55.50391,1.5625 10.27344,0 c 2.265,0 4.08213,0.590282 5.45313,1.738282 1.37199,1.165 2.07226,2.902593 2.07226,5.183593 0,2.296 -0.70026,4.050469 -2.07226,5.230469 -1.371,1.196 -3.18813,1.802735 -5.45313,1.802735 l -10.27344,0 0,-13.955079 z m 68.60547,27.966797 0,46.966794 8.0957,0 0,-4.937497 c 2.25835,3.598052 5.56999,5.396487 9.9336,5.396487 4.3636,0 7.96045,-1.529625 10.79297,-4.591799 2.10172,-2.243729 3.41673,-4.988451 3.95898,-8.222657 0.53883,3.227106 1.85611,5.971437 3.96485,8.222657 2.8325,3.062174 6.43132,4.591799 10.79492,4.591799 4.3636,0 7.6936,-1.798435 9.99023,-5.396487 l 0,4.937497 8.03711,0 0,-31.808591 -8.03711,0 0,5.339844 c -2.41146,-3.865995 -5.76178,-5.798828 -10.04883,-5.798828 -4.28704,0 -7.86554,1.531574 -10.73632,4.59375 -2.09914,2.297703 -3.41159,5.06248 -3.95508,8.285156 -0.53773,-3.238863 -1.85776,-6.003003 -3.96875,-8.285156 -2.83252,-3.062176 -6.41101,-4.59375 -10.73633,-4.59375 -4.28705,0 -7.61706,1.932833 -9.99024,5.798828 l 0,-20.498047 -8.0957,0 z m 202.1035169,0 0,46.966794 8.0957031,0 0,-4.937497 c 2.2583573,3.598052 5.5699937,5.396487 9.933594,5.396487 4.3636,0 7.960456,-1.529625 10.792968,-4.591799 2.832512,-3.023899 4.250001,-6.948557 4.25,-11.771485 0,-4.784645 -1.417488,-8.707355 -4.25,-11.769531 -2.832512,-3.062176 -6.411005,-4.59375 -10.736328,-4.59375 -4.287045,0 -7.6170447,1.932833 -9.990234,5.798828 l 0,-20.498047 -8.0957031,0 z M -281.55273,68.359375 c -4.28705,0 -7.86555,1.531574 -10.73633,4.59375 -2.83252,3.100453 -4.25,7.04348 -4.25,11.828125 0,4.784651 1.41748,8.688992 4.25,11.712891 2.83251,3.062174 6.42937,4.591799 10.79297,4.591799 4.3636,0 7.6936,-1.798435 9.99023,-5.396487 l 0,15.617187 8.03906,0 0,-42.488281 -8.03906,0 0,5.339844 c -2.41147,-3.865995 -5.75983,-5.798828 -10.04687,-5.798828 z m 169.26171,0 c -4.63154,0 -8.40148,1.492894 -11.31054,4.478516 -2.90907,2.985621 -4.36328,6.947011 -4.36328,11.884765 0,4.93776 1.45421,8.899145 4.36328,11.884766 2.90906,2.98562 6.679,4.478518 11.31054,4.478518 3.866,0 7.10028,-0.93692 9.70313,-2.812502 2.57907,-1.858444 4.301527,-4.497214 5.189452,-7.896485 0.692481,2.317483 1.797046,4.380487 3.423829,6.117188 2.832512,3.062174 6.429368,4.591799 10.792968,4.591799 4.363601,0 7.693603,-1.798435 9.990235,-5.396487 l 0,4.937497 8.039062,0 0,-31.808591 -8.039062,0 0,5.339844 c -2.411464,-3.865995 -5.759829,-5.798828 -10.046875,-5.798828 -4.287046,0 -7.865538,1.531574 -10.736328,4.59375 -1.622707,1.776206 -2.726841,3.860498 -3.419922,6.189453 -0.9247,-3.294194 -2.687659,-5.918258 -5.308589,-7.855469 -2.60285,-1.952133 -5.79846,-2.927734 -9.5879,-2.927734 z m -116.84179,0.05664 c -3.59806,0 -6.54517,1.187362 -8.8418,3.560546 -2.29663,2.411462 -3.44531,5.741462 -3.44531,9.990235 l 0,18.660153 8.03906,0 0,-17.511716 c 0,-2.488016 0.63139,-4.402486 1.89453,-5.742187 1.26315,-1.339701 2.98616,-2.009766 5.16797,-2.009766 2.18179,0 3.90287,0.670065 5.16602,2.009766 1.30142,1.339701 1.95312,3.254171 1.95312,5.742187 l 0,17.511716 8.0957,0 0,-31.808591 -8.0957,0 0,4.824219 c -2.02869,-3.483221 -5.34033,-5.226562 -9.93359,-5.226562 z m -30.42969,0.402343 0,31.808591 8.0957,0 0,-5.62695 c 2.14353,4.05738 5.2434,6.08594 9.30078,6.08594 l 0,-8.267581 -2.00976,0 c -2.41147,0 -4.22825,-0.613021 -5.45313,-1.83789 -1.22486,-1.186598 -1.83789,-3.251875 -1.83789,-6.199219 l 0,-15.962891 -8.0957,0 z m 121.83594,0 0,42.488281 8.0957,0 0,-42.488281 -8.0957,0 z m 76.478513,0 0,31.808591 8.095703,0 0,-4.765622 c 2.028691,3.483225 5.320014,5.224612 9.875,5.224612 2.411464,0 4.556059,-0.55403 6.431641,-1.664065 1.913861,-1.110037 3.386438,-2.698654 4.419922,-4.765625 1.110038,1.990416 2.621296,3.558717 4.535156,4.707031 1.952137,1.148309 4.135412,1.722659 6.546875,1.722659 3.789442,0 6.832274,-1.185414 9.128906,-3.558596 2.3349091,-2.37319 3.5019534,-5.703189 3.5019534,-9.990235 l 0,-18.71875 -8.0390624,0 0,17.570313 c 0,2.488016 -0.631384,4.38217 -1.894531,5.683594 -1.263148,1.339701 -2.984216,2.009765 -5.166016,2.009765 -2.181801,0 -3.925138,-0.670064 -5.226562,-2.009765 -1.263149,-1.301424 -1.894532,-3.195578 -1.894532,-5.683594 l 0,-17.570313 -8.037109,0 0,17.570313 c 0,2.488016 -0.631384,4.38217 -1.894531,5.683594 -1.263148,1.339701 -2.986168,2.009765 -5.167969,2.009765 -2.1818,0 -3.923185,-0.670064 -5.224609,-2.009765 -1.263148,-1.301424 -1.894532,-3.195578 -1.894532,-5.683594 l 0,-17.570313 -8.095703,0 z m -51.042973,6.373047 c 3.06218,0 5.12942,1.340129 6.20118,4.019532 l 8.677731,0 c -0.503533,1.717935 -0.8125,3.55298 -0.8125,5.570312 0,2.004248 0.307666,3.816429 0.804687,5.511719 l -8.669918,0 c -1.03349,2.641125 -3.10073,3.960937 -6.20118,3.960937 -2.33491,0 -4.17201,-0.861509 -5.51171,-2.583984 -1.30143,-1.684197 -1.95313,-3.999922 -1.95313,-6.947266 0,-2.947344 0.6517,-5.281431 1.95313,-7.003906 1.3397,-1.684192 3.1768,-2.527344 5.51171,-2.527344 z m -167.65429,0.171875 c 2.25835,0 4.22987,0.824789 5.91406,2.470703 1.6842,1.684198 2.52539,3.979606 2.52539,6.888672 0,2.909067 -0.84119,5.186111 -2.52539,6.832032 -1.68419,1.684197 -3.65571,2.527343 -5.91406,2.527343 -2.25836,0 -4.22987,-0.82283 -5.91407,-2.46875 -1.64592,-1.64592 -2.46874,-3.922964 -2.46874,-6.832031 0,-2.909067 0.84315,-5.206428 2.52734,-6.890625 1.6842,-1.684192 3.63539,-2.527344 5.85547,-2.527344 z m 89.22461,0 c 2.25836,0 4.20955,0.843152 5.85547,2.527344 1.68419,1.684197 2.52734,3.981558 2.52734,6.890625 0,2.909067 -0.84315,5.186111 -2.52734,6.832031 -1.64592,1.64592 -3.59711,2.46875 -5.85547,2.46875 -2.25836,0 -4.22987,-0.843146 -5.91407,-2.527343 -1.64592,-1.645921 -2.46875,-3.922965 -2.46875,-6.832032 0,-2.909066 0.82283,-5.204474 2.46875,-6.888672 1.6842,-1.645914 3.65571,-2.470703 5.91407,-2.470703 z m 32.61132,0 c 2.25836,0 4.22987,0.824789 5.91407,2.470703 1.68419,1.684198 2.52734,3.979606 2.52734,6.888672 0,2.909067 -0.84315,5.186111 -2.52734,6.832032 -1.6842,1.684197 -3.65571,2.527343 -5.91407,2.527343 -2.25835,0 -4.22986,-0.82283 -5.91406,-2.46875 -1.64592,-1.64592 -2.46875,-3.922964 -2.46875,-6.832031 0,-2.909067 0.84315,-5.206428 2.52735,-6.890625 1.6842,-1.684192 3.63539,-2.527344 5.85546,-2.527344 z m 76.478521,0 c 2.258354,0 4.229865,0.824789 5.914062,2.470703 1.684197,1.684198 2.525391,3.979606 2.525391,6.888672 0,2.909067 -0.841194,5.186111 -2.525391,6.832032 -1.684197,1.684197 -3.655708,2.527343 -5.914062,2.527343 -2.258355,0 -4.229866,-0.82283 -5.914063,-2.46875 -1.645919,-1.64592 -2.46875,-3.922964 -2.46875,-6.832031 0,-2.909067 0.841194,-5.206428 2.525391,-6.890625 1.684196,-1.684192 3.637344,-2.527344 5.857422,-2.527344 z m 93.013671,0 c 2.258358,0 4.209549,0.843152 5.855469,2.527344 1.684198,1.684197 2.527344,3.981558 2.527344,6.890625 0,2.909067 -0.843146,5.186111 -2.527344,6.832031 -1.64592,1.64592 -3.597111,2.46875 -5.855469,2.46875 -2.2583515,0 -4.2298647,-0.843146 -5.914062,-2.527343 C 3.82283,89.908767 3,87.631723 3,84.722656 3,81.81359 3.82283,79.518182 5.46875,77.833984 7.1529473,76.18807 9.1244605,75.363281 11.382812,75.363281 Z" + id="path5245" + style="fill:#191919;fill-opacity:1;fill-rule:nonzero;stroke:none" /> + </g> + </g> + </g> + </g> +</svg> diff --git a/web/themes/dcb2017/package.json b/web/themes/dcb2017/package.json new file mode 100644 index 000000000..4bf348a05 --- /dev/null +++ b/web/themes/dcb2017/package.json @@ -0,0 +1,19 @@ +{ + "name": "dcb2017_theme", + "version": "1.0.0", + "description": "A theme for new Drupalcamp Bristol site.", + "main": "gulpfile.js", + "author": "", + "license": "ISC", + "dependencies": { + }, + "devDependencies": { + "gulp": "^3.9.1", + "gulp-autoprefixer": "^2.3.1", + "gulp-sass": "^2.0.4", + "gulp-sourcemaps": "^1.5.2" + }, + "scripts": { + "postinstall": "find node_modules/ -name '*.info' -type f -delete" + } +} diff --git a/web/themes/dcb2017/sass/_global.scss b/web/themes/dcb2017/sass/_global.scss new file mode 100644 index 000000000..42f9e137f --- /dev/null +++ b/web/themes/dcb2017/sass/_global.scss @@ -0,0 +1,9 @@ +html { + font-family: 'Poppins', sans-serif; + font-size: 16px; +} + +body { + background: white; +} + diff --git a/web/themes/dcb2017/sass/base/_mixins.scss b/web/themes/dcb2017/sass/base/_mixins.scss new file mode 100644 index 000000000..c8261108d --- /dev/null +++ b/web/themes/dcb2017/sass/base/_mixins.scss @@ -0,0 +1,13 @@ +@mixin button { + background: $dcb-blue; + border: 0; + color: white; + font-weight: bold; + padding: 0.5rem 1rem; + text-transform: uppercase; + + &:hover, + &:focus { + background: $dcb-green; + } +} diff --git a/web/themes/dcb2017/sass/base/_variables.scss b/web/themes/dcb2017/sass/base/_variables.scss new file mode 100644 index 000000000..042771ee9 --- /dev/null +++ b/web/themes/dcb2017/sass/base/_variables.scss @@ -0,0 +1,5 @@ +// Custom variables, colours etc. + +$dcb-green: #44efb9; +$dcb-blue: #b33ee9; +$dcb-purple: #ec16a8; diff --git a/web/themes/dcb2017/sass/components/_blocks.scss b/web/themes/dcb2017/sass/components/_blocks.scss new file mode 100644 index 000000000..3371de507 --- /dev/null +++ b/web/themes/dcb2017/sass/components/_blocks.scss @@ -0,0 +1,18 @@ +.block-system-branding-block { + float: left; + margin: 0.5em 2em; +} + +.site-logo img { + display: block; + width: 11rem; +} + +#block-homepagehero { + font-size: 1.8rem; + line-height: 1.2; + margin: auto; + max-width: 30rem; + padding: 10rem 1rem; + text-align: center; +} diff --git a/web/themes/dcb2017/sass/components/_forms.scss b/web/themes/dcb2017/sass/components/_forms.scss new file mode 100644 index 000000000..6f102571d --- /dev/null +++ b/web/themes/dcb2017/sass/components/_forms.scss @@ -0,0 +1,13 @@ +.form-item > label { + display: block; + font-weight: bold; + + &.option { + display: inline; + font-weight: normal; + } +} + +.form-submit { + @include button; +} diff --git a/web/themes/dcb2017/sass/components/_menus.scss b/web/themes/dcb2017/sass/components/_menus.scss new file mode 100644 index 000000000..0cecdae16 --- /dev/null +++ b/web/themes/dcb2017/sass/components/_menus.scss @@ -0,0 +1,27 @@ +ul.menu { + margin: 0; + padding: 0; + + li.menu-item { + display: inline-block; + padding: 1rem 1.5rem; + text-transform: uppercase; + + a { + color: black; + text-decoration: none; + + &:hover, + &:focus, + &.is-active { + color: $dcb-green; + } + } + } +} + +nav.menu--main { + float: right; + font-weight: bold; + margin: 0.8rem; +} diff --git a/web/themes/dcb2017/sass/layout/_content.scss b/web/themes/dcb2017/sass/layout/_content.scss new file mode 100644 index 000000000..eb7a7a594 --- /dev/null +++ b/web/themes/dcb2017/sass/layout/_content.scss @@ -0,0 +1,4 @@ +.region-content { + margin: 0 auto; + max-width: 72rem; +} diff --git a/web/themes/dcb2017/sass/layout/_featured.scss b/web/themes/dcb2017/sass/layout/_featured.scss new file mode 100644 index 000000000..287b7356b --- /dev/null +++ b/web/themes/dcb2017/sass/layout/_featured.scss @@ -0,0 +1,24 @@ +.region-featured { + position: relative; + + &:after { + background-image: url('../images/dcb-bg.jpg'); + background-size: cover; + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: -1; + } +} + +.featured-footer { + background: black; + color: white; + font-size: 1.2rem; + font-weight: bold; + padding: 1rem; + text-align: center; +} diff --git a/web/themes/dcb2017/sass/layout/_footer.scss b/web/themes/dcb2017/sass/layout/_footer.scss new file mode 100644 index 000000000..7ea38cde1 --- /dev/null +++ b/web/themes/dcb2017/sass/layout/_footer.scss @@ -0,0 +1,4 @@ +.region-footer { + margin: 0 auto; + max-width: 72rem; +} diff --git a/web/themes/dcb2017/sass/layout/_header.scss b/web/themes/dcb2017/sass/layout/_header.scss new file mode 100644 index 000000000..c6583ea06 --- /dev/null +++ b/web/themes/dcb2017/sass/layout/_header.scss @@ -0,0 +1,5 @@ +.region-header { + margin: 0 auto; + max-width: 72rem; + overflow: hidden; +} diff --git a/web/themes/dcb2017/sass/style.scss b/web/themes/dcb2017/sass/style.scss new file mode 100644 index 000000000..acdbff537 --- /dev/null +++ b/web/themes/dcb2017/sass/style.scss @@ -0,0 +1,15 @@ +// External libraries. + + +@import 'base/variables'; +@import 'base/mixins'; + +@import 'global'; // Global Theme Customizations. +@import 'layout/header'; +@import 'layout/featured'; +@import 'layout/content'; +@import 'layout/footer'; + +@import 'components/menus'; +@import 'components/blocks'; +@import 'components/forms'; diff --git a/web/themes/dcb2017/templates/blocks/block--homepagehero.html.twig b/web/themes/dcb2017/templates/blocks/block--homepagehero.html.twig new file mode 100644 index 000000000..417cdc309 --- /dev/null +++ b/web/themes/dcb2017/templates/blocks/block--homepagehero.html.twig @@ -0,0 +1,49 @@ +{# +/** + * @file + * Theme override to display a block. + * + * Available variables: + * - plugin_id: The ID of the block implementation. + * - label: The configured label of the block if visible. + * - configuration: A list of the block's configuration values. + * - label: The configured label for the block. + * - label_display: The display settings for the label. + * - provider: The module or other provider that provided this block plugin. + * - Block plugin specific settings will also be stored here. + * - content: The content of this block. + * - attributes: array of HTML attributes populated by modules, intended to + * be added to the main container tag of this template. + * - id: A valid HTML ID and guaranteed unique. + * - title_attributes: Same as attributes, except applied to the main title + * tag that appears in the template. + * - title_prefix: Additional output populated by modules, intended to be + * displayed in front of the main title tag that appears in the template. + * - title_suffix: Additional output populated by modules, intended to be + * displayed after the main title tag that appears in the template. + * + * @see template_preprocess_block() + */ +#} +{% + set classes = [ + 'block', + 'block-' ~ configuration.provider|clean_class, + 'block-' ~ plugin_id|clean_class, + ] +%} +<div{{ attributes.addClass(classes) }}> + {{ title_prefix }} + + {% if label %} + <h2{{ title_attributes }}>{{ label }}</h2> + {% endif %} + + {{ title_suffix }} + + <img src="{{ base_path ~ directory }}/images/logo-with-dates.svg" alt="Drupalcamp Bristol 30th June - 2nd July" /> + + {% block content %} + {{ content }} + {% endblock %} +</div> diff --git a/web/themes/dcb2017/templates/layout/page.html.twig b/web/themes/dcb2017/templates/layout/page.html.twig new file mode 100644 index 000000000..8847a48ac --- /dev/null +++ b/web/themes/dcb2017/templates/layout/page.html.twig @@ -0,0 +1,72 @@ +{# +/** + * @file + * Theme override to display a single page. + * + * The doctype, html, head and body tags are not in this template. Instead they + * can be found in the html.html.twig template in this directory. + * + * Available variables: + * + * General utility variables: + * - base_path: The base URL path of the Drupal installation. Will usually be + * "/" unless you have installed Drupal in a sub-directory. + * - is_front: A flag indicating if the current page is the front page. + * - logged_in: A flag indicating if the user is registered and signed in. + * - is_admin: A flag indicating if the user has permission to access + * administration pages. + * + * Site identity: + * - front_page: The URL of the front page. Use this instead of base_path when + * linking to the front page. This includes the language domain or prefix. + * + * Page content (in order of occurrence in the default page.html.twig): + * - node: Fully loaded node, if there is an automatically-loaded node + * associated with the page and the node ID is the second argument in the + * page's path (e.g. node/12345 and node/12345/revisions, but not + * comment/reply/12345). + * + * Regions: + * - page.header: Items for the header region. + * - page.primary_menu: Items for the primary menu region. + * - page.secondary_menu: Items for the secondary menu region. + * - page.highlighted: Items for the highlighted content region. + * - page.help: Dynamic help text, mostly for admin pages. + * - page.content: The main content of the current page. + * - page.sidebar_first: Items for the first sidebar. + * - page.sidebar_second: Items for the second sidebar. + * - page.footer: Items for the footer region. + * - page.breadcrumb: Items for the breadcrumb region. + * + * @see template_preprocess_page() + * @see html.html.twig + */ +#} +<div class="layout-container"> + + <header role="banner"> + {{ page.header }} + </header> + + {% if page.featured %} + <div class="layout-featured"> + {{ page.featured }} + </div> + {% endif %} + + <main role="main"> + <a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #} + + <div class="layout-content"> + {{ page.content }} + </div>{# /.layout-content #} + + </main> + + {% if page.footer %} + <footer role="contentinfo"> + {{ page.footer }} + </footer> + {% endif %} + +</div>{# /.layout-container #} diff --git a/web/themes/dcb2017/templates/layout/region--featured.html.twig b/web/themes/dcb2017/templates/layout/region--featured.html.twig new file mode 100644 index 000000000..b883fb0be --- /dev/null +++ b/web/themes/dcb2017/templates/layout/region--featured.html.twig @@ -0,0 +1,30 @@ +{# +/** + * @file + * Theme override to display a region. + * + * Available variables: + * - content: The content for this region, typically blocks. + * - attributes: HTML attributes for the region <div>. + * - region: The name of the region variable as defined in the theme's + * .info.yml file. + * + * @see template_preprocess_region() + */ +#} +{% + set classes = [ + 'region', + 'region-' ~ region|clean_class, + ] +%} +{% if content %} + <div{{ attributes.addClass(classes) }}> + {{ content }} + + <div class="featured-footer"> + {{ 'For early bird tickets'|t|upper }} + </div> + </div> + +{% endif %}