Skip to content

Commit 0cb5861

Browse files
Added a .wrapper element with overflow: hidden as a wrapper for the whole site.
Body and wrapper min-height 100%, width 100%. Sms, tel and Fax links no longer browser default styled Margin-bottom for dd
1 parent cba81b5 commit 0cb5861

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

sass/base/defaults.scss

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
1REM = 10px (relative pixels)
55
*/
66

7+
/* body and wrapper on width: 100% and min-height: 100%; */
8+
body, .wrapper { width: 100%; min-height: 100%; }
9+
710
html {
811
background: $color01;
912
font-size: 62.5%;
@@ -20,12 +23,20 @@ html, button, input, select, textarea {
2023
font-weight: normal;
2124
}
2225

26+
.wrapper {
27+
position: relative;
28+
margin: 0 auto;
29+
width: 100%;
30+
overflow: hidden;
31+
}
32+
2333
/* Max width of images 100% */
2434
img, embed, object {
2535
max-width: 100%;
2636
}
2737

2838
/* Default Links */
39+
2940
a {
3041
text-decoration: underline;
3142
color: $theme01;
@@ -34,11 +45,16 @@ a:hover {
3445
color: $theme03;
3546
text-decoration: none;
3647
}
37-
48+
a[href^="tel"], a[href^="sms"], a[href^="fax"] {
49+
text-decoration: none; color: inherit;
50+
}
3851
/* Default lists and tables have margin-bottom: $margin-default * 2; */
3952
dl, ol, ul, p, pre, table {
4053
margin-bottom: $margin-default * 2;
4154
}
55+
dd {
56+
margin-bottom: $margin-default;
57+
}
4258
/* OL and UL alignment */
4359
ol, ul {
4460
padding-left: 24px;

0 commit comments

Comments
 (0)