Skip to content

Commit

Permalink
Added a .wrapper element with overflow: hidden as a wrapper for the w…
Browse files Browse the repository at this point in the history
…hole site.

Body and wrapper min-height 100%, width 100%.
Sms, tel and Fax links no longer browser default styled
Margin-bottom for dd
  • Loading branch information
dariusrosendahl committed Jul 28, 2016
1 parent cba81b5 commit 0cb5861
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion sass/base/defaults.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
1REM = 10px (relative pixels)
*/

/* body and wrapper on width: 100% and min-height: 100%; */
body, .wrapper { width: 100%; min-height: 100%; }

html {
background: $color01;
font-size: 62.5%;
Expand All @@ -20,12 +23,20 @@ html, button, input, select, textarea {
font-weight: normal;
}

.wrapper {
position: relative;
margin: 0 auto;
width: 100%;
overflow: hidden;
}

/* Max width of images 100% */
img, embed, object {
max-width: 100%;
}

/* Default Links */

a {
text-decoration: underline;
color: $theme01;
Expand All @@ -34,11 +45,16 @@ a:hover {
color: $theme03;
text-decoration: none;
}

a[href^="tel"], a[href^="sms"], a[href^="fax"] {
text-decoration: none; color: inherit;
}
/* Default lists and tables have margin-bottom: $margin-default * 2; */
dl, ol, ul, p, pre, table {
margin-bottom: $margin-default * 2;
}
dd {
margin-bottom: $margin-default;
}
/* OL and UL alignment */
ol, ul {
padding-left: 24px;
Expand Down

0 comments on commit 0cb5861

Please sign in to comment.