diff --git a/config/sync/block.block.posse_theme_account_menu.yml b/config/sync/block.block.posse_theme_account_menu.yml index 36e90670..b1940615 100644 --- a/config/sync/block.block.posse_theme_account_menu.yml +++ b/config/sync/block.block.posse_theme_account_menu.yml @@ -13,7 +13,7 @@ _core: id: posse_theme_account_menu theme: posse_theme region: navigation -weight: 0 +weight: -5 provider: null plugin: 'system_menu_block:account' settings: diff --git a/config/sync/block.block.posse_theme_addtoanybuttons.yml b/config/sync/block.block.posse_theme_addtoanybuttons.yml index 5d3aba92..2cd792b5 100644 --- a/config/sync/block.block.posse_theme_addtoanybuttons.yml +++ b/config/sync/block.block.posse_theme_addtoanybuttons.yml @@ -8,8 +8,8 @@ dependencies: - posse_theme id: posse_theme_addtoanybuttons theme: posse_theme -region: navigation -weight: -7 +region: footer +weight: -8 provider: null plugin: addtoany_block settings: diff --git a/config/sync/block.block.posse_theme_breadcrumbs.yml b/config/sync/block.block.posse_theme_breadcrumbs.yml index 551ba1dc..8c8c5f90 100644 --- a/config/sync/block.block.posse_theme_breadcrumbs.yml +++ b/config/sync/block.block.posse_theme_breadcrumbs.yml @@ -11,7 +11,7 @@ _core: id: posse_theme_breadcrumbs theme: posse_theme region: navigation -weight: 0 +weight: -7 provider: null plugin: system_breadcrumb_block settings: diff --git a/config/sync/block.block.posse_theme_footer.yml b/config/sync/block.block.posse_theme_footer.yml index bc9ae2d5..f9c0d35e 100644 --- a/config/sync/block.block.posse_theme_footer.yml +++ b/config/sync/block.block.posse_theme_footer.yml @@ -1,6 +1,6 @@ uuid: 45ab6435-f03d-4249-9e6c-81a0e98a93ff langcode: en -status: true +status: false dependencies: config: - system.menu.footer @@ -13,7 +13,7 @@ _core: id: posse_theme_footer theme: posse_theme region: navigation -weight: -5 +weight: -4 provider: null plugin: 'system_menu_block:footer' settings: diff --git a/config/sync/block.block.posse_theme_main_menu.yml b/config/sync/block.block.posse_theme_main_menu.yml index aa0bb950..e5b494b8 100644 --- a/config/sync/block.block.posse_theme_main_menu.yml +++ b/config/sync/block.block.posse_theme_main_menu.yml @@ -13,7 +13,7 @@ _core: id: posse_theme_main_menu theme: posse_theme region: navigation -weight: 0 +weight: -6 provider: null plugin: 'system_menu_block:main' settings: diff --git a/config/sync/block.block.posse_theme_powered.yml b/config/sync/block.block.posse_theme_powered.yml index e9c20ef9..634be84d 100644 --- a/config/sync/block.block.posse_theme_powered.yml +++ b/config/sync/block.block.posse_theme_powered.yml @@ -11,7 +11,7 @@ _core: id: posse_theme_powered theme: posse_theme region: navigation -weight: -6 +weight: -8 provider: null plugin: system_powered_by_block settings: diff --git a/config/sync/block.block.posse_theme_tools.yml b/config/sync/block.block.posse_theme_tools.yml deleted file mode 100644 index 2283dc71..00000000 --- a/config/sync/block.block.posse_theme_tools.yml +++ /dev/null @@ -1,26 +0,0 @@ -uuid: a7978473-7dd1-4435-90ef-aa8e268982cc -langcode: en -status: true -dependencies: - config: - - system.menu.tools - module: - - system - theme: - - posse_theme -_core: - default_config_hash: NeHSoqm4XFqA7_0bDmR429ZZQt3LRbZMNRJTMsFyOfI -id: posse_theme_tools -theme: posse_theme -region: sidebar_first -weight: 0 -provider: null -plugin: 'system_menu_block:tools' -settings: - id: 'system_menu_block:tools' - label: Tools - provider: system - label_display: visible - level: 1 - depth: 0 -visibility: { } diff --git a/config/sync/block.block.sitebranding.yml b/config/sync/block.block.sitebranding.yml index 7b68f366..ac800c03 100644 --- a/config/sync/block.block.sitebranding.yml +++ b/config/sync/block.block.sitebranding.yml @@ -9,7 +9,7 @@ dependencies: id: sitebranding theme: posse_theme region: footer -weight: -8 +weight: -9 provider: null plugin: system_branding_block settings: diff --git a/config/sync/block.block.templateprogrammedbystudentsofthecareerchangingdebugacademy.yml b/config/sync/block.block.templateprogrammedbystudentsofthecareerchangingdebugacademy.yml new file mode 100644 index 00000000..1df069d4 --- /dev/null +++ b/config/sync/block.block.templateprogrammedbystudentsofthecareerchangingdebugacademy.yml @@ -0,0 +1,25 @@ +uuid: 26d4f7d5-1b13-4c5a-9002-a02f22b48413 +langcode: en +status: true +dependencies: + content: + - 'block_content:basic:364cbe75-0473-4ea3-906e-70334e179cd8' + module: + - block_content + theme: + - posse_theme +id: templateprogrammedbystudentsofthecareerchangingdebugacademy +theme: posse_theme +region: footer +weight: -7 +provider: null +plugin: 'block_content:364cbe75-0473-4ea3-906e-70334e179cd8' +settings: + id: 'block_content:364cbe75-0473-4ea3-906e-70334e179cd8' + label: 'Template programmed by students of the career changing Debug Academy' + provider: block_content + label_display: '0' + status: true + info: '' + view_mode: full +visibility: { } diff --git a/web/themes/custom/posse_theme/css/style.css b/web/themes/custom/posse_theme/css/style.css index b6d336cf..1d5f5a37 100644 --- a/web/themes/custom/posse_theme/css/style.css +++ b/web/themes/custom/posse_theme/css/style.css @@ -6381,34 +6381,83 @@ p:last-child, #block-services h3, #block-services h4, #block-services span { color: #ffffff; } #block-services ul { - padding-left: 5.7em; - padding-right: 5.7em; margin-bottom: 10px; } #block-services li { - display: inline-block; - width: 30%; - padding: 110px 10px 70px 10px; - margin: 0px 15px; } + padding-top: 110px; + padding-bottom: 70px; } #block-services li.web-development { background: url("../images/icon-comp.jpg") no-repeat center top; } #block-services li.app-development { background: url("../images/icon-phone.jpg") no-repeat center top; } #block-services li.seo-assistance { background: url("../images/icon-magnify.jpg") no-repeat center top; } - @media screen and (max-width: 993px) { - #block-services ul { - padding-left: 0em; - padding-right: 0em; } - #block-services li { - padding: 110px 0px 70px 0px; } } - @media screen and (max-width: 630px) { - #block-services li { - width: 37%; } } @media screen and (max-width: 560px) { #block-services h3 { - font-size: 1.1em; } - #block-services li { - width: 60%; } } + font-size: 1.1em; } } + +/*** Footer ***/ +.region-footer { + text-align: center; + /* + background-color: #102330; + color: #ffffff; + */ } + .region-footer .logo { + display: none; } + .region-footer .name.navbar-brand { + position: relative; + float: left; + width: 100%; + min-height: 1px; + padding-left: 15px; + padding-right: 15px; + position: relative; + min-height: 1px; + padding-left: 15px; + padding-right: 15px; } + @media (min-width: 992px) { + .region-footer .name.navbar-brand { + float: left; + width: 16.6666666667%; } } + @media (min-width: 992px) { + .region-footer .name.navbar-brand { + margin-left: 8.3333333333%; } } + .region-footer #block-posse-theme-addtoanybuttons { + position: relative; + float: left; + width: 100%; + min-height: 1px; + padding-left: 15px; + padding-right: 15px; + position: relative; + min-height: 1px; + padding-left: 15px; + padding-right: 15px; } + @media (min-width: 992px) { + .region-footer #block-posse-theme-addtoanybuttons { + float: left; + width: 16.6666666667%; } } + @media (min-width: 992px) { + .region-footer #block-posse-theme-addtoanybuttons { + margin-left: 8.3333333333%; } } + .region-footer #block-templateprogrammedbystudentsofthecareerchangingdebugacademy { + position: relative; + float: left; + width: 100%; + min-height: 1px; + padding-left: 15px; + padding-right: 15px; + position: relative; + min-height: 1px; + padding-left: 15px; + padding-right: 15px; } + @media (min-width: 992px) { + .region-footer #block-templateprogrammedbystudentsofthecareerchangingdebugacademy { + margin-left: 8.3333333333%; } } + @media (min-width: 992px) { + .region-footer #block-templateprogrammedbystudentsofthecareerchangingdebugacademy { + float: left; + width: 33.3333333333%; } } #block-meetthedevblock { background-color: #F4F3F1; } diff --git a/web/themes/custom/posse_theme/scss/_posse_misc.scss b/web/themes/custom/posse_theme/scss/_posse_misc.scss index efa44801..fe44d2e2 100644 --- a/web/themes/custom/posse_theme/scss/_posse_misc.scss +++ b/web/themes/custom/posse_theme/scss/_posse_misc.scss @@ -32,15 +32,12 @@ color: $alternate-bg-heading-secondary; } ul { - padding-left: 5.7em; - padding-right: 5.7em; + margin-bottom: 10px; } li { - display: inline-block; - width: 30%; - padding: 110px 10px 70px 10px; - margin: 0px 15px; + padding-top: 110px; + padding-bottom: 70px; &.web-development { background: url("../images/icon-comp.jpg") no-repeat center top; } @@ -52,26 +49,37 @@ } } - @media screen and (max-width: 993px) { - ul { - padding-left: 0em; - padding-right: 0em; - } - li { - padding: 110px 0px 70px 0px; - } - } - @media screen and (max-width: 630px) { - li { - width: 37%; - } - } + @media screen and (max-width: 560px) { h3 { font-size: 1.1em; } - li { - width: 60%; - } } } +/*** Footer ***/ +.region-footer { + text-align: center; +/* + background-color: #102330; + color: #ffffff; +*/ + .logo { + display: none; + } + .name.navbar-brand { + @include make-xs-column(12); + @include make-md-column(2); + @include make-md-column-offset(1); + } + #block-posse-theme-addtoanybuttons { + @include make-xs-column(12); + @include make-md-column(2); + @include make-md-column-offset(1); + } + #block-templateprogrammedbystudentsofthecareerchangingdebugacademy { + @include make-xs-column(12); + @include make-md-column-offset(1); + @include make-md-column(4); + } + +} \ No newline at end of file diff --git a/web/themes/custom/posse_theme/scss/_posse_misc_bh.scss b/web/themes/custom/posse_theme/scss/_posse_misc_bh.scss new file mode 100644 index 00000000..c11fe626 --- /dev/null +++ b/web/themes/custom/posse_theme/scss/_posse_misc_bh.scss @@ -0,0 +1,62 @@ +/***** Blog Page *****/ + + +/* Blog Header */ + +.blog_section { + height: 500px; + width: 1140px; + background-color: #1c3243; + display: inline-flex; + font-family: 'Montserrat', sans-serif; + img { + width: 50%; + } +} + +.content_section { + width: 570px; + color: #ffff; + text-align: center; +} + +.top_section { + margin-top: 42px; + margin-bottom: 42px; + word-spacing: 90px; +} + +.mid_section span { + color: #FFA500; + font-size: 18px; + font-weight: lighter; + text-transform: uppercase; + font-family: 'Montserrat', sans-serif; +} + +.mid_section p { + font-size: 40px; + text-transform: uppercase; + padding: 10px 40px; + letter-spacing: 5px; + font-family: 'Montserrat', sans-serif; +} + +.top_section ul { + list-style-type: none; + li { + display: inline; + font-weight: 100; + font-size: 24px; + } +} + +.lower_section p { + text-transform: uppercase; + padding-top: 30px; + letter-spacing: 8px; +} + +.lower_section p span { + margin-bottom: 18px; +} \ No newline at end of file diff --git a/web/themes/custom/posse_theme/templates/block--blogheader.html.twig b/web/themes/custom/posse_theme/templates/block--blogheader.html.twig new file mode 100644 index 00000000..c21b86d7 --- /dev/null +++ b/web/themes/custom/posse_theme/templates/block--blogheader.html.twig @@ -0,0 +1,77 @@ +{% extends "block.html.twig" %} +{# +/** + * @file + * Default theme implementation to display a block. + * + * Available variables: + * - $block->subject: Block title. + * - $content: Block content. + * - $block->module: Module that generated the block. + * - $block->delta: An ID for the block, unique within each module. + * - $block->region: The block region embedding the current block. + * - $classes: String of classes that can be used to style contextually through + * CSS. It can be manipulated through the variable $classes_array from + * preprocess functions. The default values can be one or more of the + * following: + * - block: The current template type, i.e., "theming hook". + * - block-[module]: The module generating the block. For example, the user + * module is responsible for handling the default user navigation block. In + * that case the class would be 'block-user'. + * - $title_prefix (array): An array containing additional output populated by + * modules, intended to be displayed in front of the main title tag that + * appears in the template. + * - $title_suffix (array): An array containing additional output populated by + * modules, intended to be displayed after the main title tag that appears in + * the template. + * + * Helper variables: + * - $classes_array: Array of html class attribute values. It is flattened + * into a string within the variable $classes. + * - $block_zebra: Outputs 'odd' and 'even' dependent on each block region. + * - $zebra: Same output as $block_zebra but independent of any block region. + * - $block_id: Counter dependent on each block region. + * - $id: Same output as $block_id but independent of any block region. + * - $is_front: Flags true when presented in the front page. + * - $logged_in: Flags true when the current user is a logged-in member. + * - $is_admin: Flags true when the current user is an administrator. + * - $block_html_id: A valid HTML ID and guaranteed unique. + * + * @ingroup templates + * + * @see bootstrap_preprocess_block() + * @see template_preprocess() + * @see template_preprocess_block() + * @see bootstrap_process_block() + * @see template_process() + */ +#} + {% block content %} + + +
+ New Site Launch: Sullivan Street Bakery
+By | Reed Richards
+