Initial theming
This commit is contained in:
parent
53d6173a5f
commit
002f40bc1a
25 changed files with 634 additions and 0 deletions
18
web/themes/dcb2017/sass/components/_blocks.scss
Normal file
18
web/themes/dcb2017/sass/components/_blocks.scss
Normal file
|
@ -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;
|
||||
}
|
13
web/themes/dcb2017/sass/components/_forms.scss
Normal file
13
web/themes/dcb2017/sass/components/_forms.scss
Normal file
|
@ -0,0 +1,13 @@
|
|||
.form-item > label {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
|
||||
&.option {
|
||||
display: inline;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.form-submit {
|
||||
@include button;
|
||||
}
|
27
web/themes/dcb2017/sass/components/_menus.scss
Normal file
27
web/themes/dcb2017/sass/components/_menus.scss
Normal file
|
@ -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;
|
||||
}
|
Reference in a new issue