aboutsummaryrefslogtreecommitdiffstats
path: root/_sass/_contacts.scss
diff options
context:
space:
mode:
authorVeikka Kähkönen <insiding@gmail.com>2017-11-27 16:34:31 +0200
committerVeikka Kähkönen <insiding@gmail.com>2017-11-27 16:34:31 +0200
commitabb4507e5e1a0673de5ff4f94bdedbfa81ea5489 (patch)
tree22f54158f390b0d68984d7ed636371e0c9aaf73f /_sass/_contacts.scss
parentb9ae83ff4f57102ea4d49507a5a0160a4df3fc40 (diff)
Change contact SASS into BEM format and simplify hallitus layout
Diffstat (limited to '_sass/_contacts.scss')
-rw-r--r--_sass/_contacts.scss24
1 files changed, 13 insertions, 11 deletions
diff --git a/_sass/_contacts.scss b/_sass/_contacts.scss
index 173c93f..2c28ff8 100644
--- a/_sass/_contacts.scss
+++ b/_sass/_contacts.scss
@@ -3,36 +3,38 @@ $contact-vspacing: 2em;
.contact {
text-align: center;
+ display: inline-block;
+ width: $content-width/2.2;
+ margin: 0 0 $contact-vspacing 0;
+ padding: 0 1em 0 1em;
}
-.contact h3 {
- margin-top: 0.2em;
+.contact__position_name {
margin-bottom: 0;
}
-.contact h4 {
+.contact__position_name--hallitus {
+ margin-top: 0.2em;
+}
+
+.contact__person_name {
margin-top: $contact-internal-vgap;
margin-bottom: 0;
}
-.contact-inline {
- display: inline-block;
- width: $content-width/2.2;
- margin: 0 0 $contact-vspacing 0;
- padding: 0 1em 0 1em;
}
-.contact-inline-section {
+.contact__section {
margin-top: $contact-internal-vgap;
}
-.contact-inline-spacer {
+.contact__section--spacer {
border-top: 3px solid $brand-color;
width: 20%;
margin-left: auto;
margin-right: auto;
}
-.img-circle {
+.contact__photo {
border-radius: 50%;
}