diff options
author | Freya Murphy <freya@freyacat.org> | 2024-09-26 14:53:10 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-09-26 14:53:10 -0400 |
commit | 3d438647120d283373125b3eab4c26d28868d392 (patch) | |
tree | b000c09f1e8c55f05596b624165cb1ba03c3f501 /src/scss/ie | |
parent | update comment (diff) | |
download | website-3d438647120d283373125b3eab4c26d28868d392.tar.gz website-3d438647120d283373125b3eab4c26d28868d392.tar.bz2 website-3d438647120d283373125b3eab4c26d28868d392.zip |
ie5
Diffstat (limited to 'src/scss/ie')
-rw-r--r-- | src/scss/ie/ie.scss | 49 | ||||
-rw-r--r-- | src/scss/ie/ie6.scss | 41 |
2 files changed, 90 insertions, 0 deletions
diff --git a/src/scss/ie/ie.scss b/src/scss/ie/ie.scss new file mode 100644 index 0000000..bf8cc4f --- /dev/null +++ b/src/scss/ie/ie.scss @@ -0,0 +1,49 @@ +/* IE 5-7 Styles */ + +@import "../variables"; + +#header { + .ie-nav { + margin-left: 90px; + } +} + +#main { + .col { + display: block !important; + width: 100% !important; + + &.left { + padding-right: 0 !important; + } + + } + + .section { + .heading { + background: $blue !important; + } + } + + #post, + #writeup { + .posted { + margin-top: $inner-gap; + } + } + + #comments { + #new_comment { + width: 400px; + + #author, + #content { + width: 400px !important; + } + } + } + + table { + behavior: url(boxsizing.htc); + } +} diff --git a/src/scss/ie/ie6.scss b/src/scss/ie/ie6.scss new file mode 100644 index 0000000..2731e24 --- /dev/null +++ b/src/scss/ie/ie6.scss @@ -0,0 +1,41 @@ +/* IE 6 and 7 Only */ + +@import "../variables"; + +/** + * IE5 and below seem to look fine without boxsizing + * additions, its only the jump to IE5 where things seem + * to start breaking and thus this is needed + */ + +* { + behavior: url(boxsizing.htc); +} + +/** + * Fix homepage margin near footer, only caused + * by the boxsizing i think + */ +body { + #main { + .col { + + &.left { + margin-bottom: $inner-gap; + } + + &.right { + margin-top: $inner-gap !important; + } + + } + } + + #contact { + margin-bottom: 0 !important; + } + + #footer { + margin-top: $inner-gap !important; + } +} |