mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-07-27 12:29:45 +00:00
New heading
css class added
This commit is contained in:
parent
6e3456db9d
commit
98312d485b
4 changed files with 43 additions and 2 deletions
|
@ -2782,6 +2782,19 @@ ul.subitem_hide > li {
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Sytles for heading */
|
||||||
|
.heading {
|
||||||
|
padding: 1em 3em;
|
||||||
|
background-color: #fff;
|
||||||
|
position: relative;
|
||||||
|
border: solid 1px rgba(160, 160, 160, 0.3);
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
.heading .title h2 {
|
||||||
|
font-weight: 900;
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
body {
|
body {
|
||||||
padding-top: 3.5em;
|
padding-top: 3.5em;
|
||||||
|
@ -3036,6 +3049,7 @@ body.single #wrapper {
|
||||||
}
|
}
|
||||||
#intro header h2 {
|
#intro header h2 {
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
#intro header p {
|
#intro header p {
|
||||||
font-size: 0.7em;
|
font-size: 0.7em;
|
||||||
|
@ -3058,6 +3072,15 @@ body.single #wrapper {
|
||||||
#intro header > :last-child {
|
#intro header > :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
#intro header .logo {
|
||||||
|
margin: 0 0 0.5em 0;
|
||||||
|
}
|
||||||
|
#intro header header h2 {
|
||||||
|
font-size: 1.25em;
|
||||||
|
}
|
||||||
|
#intro header header > :last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Footer */
|
/* Footer */
|
||||||
|
@ -3147,4 +3170,4 @@ body.is-menu-visible #menu {
|
||||||
#menu > * {
|
#menu > * {
|
||||||
padding: 1.5em;
|
padding: 1.5em;
|
||||||
}
|
}
|
||||||
}/*# sourceMappingURL=main.css.map */
|
}/*# sourceMappingURL=main.css.map */
|
2
assets/css/main.min.css
vendored
2
assets/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
17
assets/sass/components/_heading.scss
Normal file
17
assets/sass/components/_heading.scss
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
/* Sytles for heading */
|
||||||
|
|
||||||
|
.heading {
|
||||||
|
padding: 1em 3em;
|
||||||
|
background-color: #fff;
|
||||||
|
position: relative;
|
||||||
|
border: solid 1px rgba(160, 160, 160, 0.3);
|
||||||
|
border-bottom: none;
|
||||||
|
|
||||||
|
.title {
|
||||||
|
h2 {
|
||||||
|
font-weight: 900;
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
@import 'components/logo';
|
@import 'components/logo';
|
||||||
@import 'components/dropdownmenu';
|
@import 'components/dropdownmenu';
|
||||||
@import 'components/sidebarmenu';
|
@import 'components/sidebarmenu';
|
||||||
|
@import 'components/heading';
|
||||||
|
|
||||||
// Layout.
|
// Layout.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue