Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Kudos-Website
Commits
c7a61474
Commit
c7a61474
authored
Oct 07, 2020
by
Michael Iseard
Browse files
Add ability for 100% page height
parent
f7792f9a
Changes
4
Show whitespace changes
Inline
Side-by-side
resources/assets/styles/common/_global.scss
View file @
c7a61474
body
{
font-family
:
$font-family-sans-serif
!
important
;
display
:
flex
;
flex-flow
:
column
;
overflow-x
:
hidden
;
}
...
...
resources/assets/styles/common/_variables.scss
View file @
c7a61474
// Fonts
$font-size-base
:
1
.2rem
;
$line-height-base
:
1
.6
;
$h5-font-size
:
1
.25rem
;
...
...
@@ -9,6 +10,7 @@ $theme-colors: (
primary
:
#ff9f1c
,
secondary
:
#2ec4b6
,
tertiary
:
#2a3d45
,
//
alt
:
#5d5f71
//
tertiary
:
#5d5f71
,
);
$tertiary-light
:
#bbcfe4
;
...
...
@@ -32,3 +34,7 @@ $navbar-dark-toggler-icon-bg: "url('data:image/svg+xml,%3Csvg aria-hidden='true'
$navbar-light-toggler-icon-bg
:
"url('data:image/svg+xml,%3Csvg aria-hidden='true' data-prefix='fas' data-icon='bars' class='svg-inline--fa fa-bars fa-w-14' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='#00000080' d='M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z'/%3E%3C/svg%3E')"
;
$navbar-dark-toggler-border-color
:
"none"
;
$navbar-light-toggler-border-color
:
"none"
;
// Admin bar
$adminbar-base
:
46px
;
$adminbar-sm
:
32px
;
resources/views/layouts/app.blade.php
View file @
c7a61474
...
...
@@ -5,7 +5,7 @@
@php do_action('get_header') @endphp
@include('partials.header')
@yield('above-container')
<div
class=
"content container-fluid"
role=
"document"
>
<div
class=
"content container-fluid
flex-grow-1
"
role=
"document"
>
<main
class=
"main wrapper"
>
@yield('content')
</main>
...
...
resources/views/partials/page-title.blade.php
View file @
c7a61474
<div
class=
"w-100 position-relative top-banner py-5 d-flex align-items-end justify-content-center"
>
<div
class=
"w-100
flex-shrink-0
position-relative top-banner py-5 d-flex align-items-end justify-content-center"
>
<div
class=
"container position-relative"
>
<div
class=
"row align-items-center justify-content-center text-center text-white"
>
@yield('page-header')
@section('header')
<h1
class=
"entry-title"
>
{{the_title()}}
</h1>
@show
</div>
</div>
</div>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment