fix ie6 support

This commit is contained in:
Freya Murphy 2024-09-24 17:31:29 -04:00
parent 0814a5b592
commit 83a1fe244f
Signed by: freya
GPG key ID: 744AB800E383AE52
4 changed files with 15 additions and 9 deletions

View file

@ -3,12 +3,9 @@ MIXINS = $(shell find src/scss -name "_*.scss")
SCSS = $(shell find src/scss -name "*.scss" -not -name "_*")
CSS = $(patsubst src/scss/%.scss,src/public/css/%.css,$(SCSS))
.PHONY: all css dir clean
.PHONY: all css clean
css: dir $(CSS)
dir:
@mkdir -p src/public/css
css: $(CSS)
clean:
@printf "\033[31m RM \033[0m%s\n" src/public/css
@ -18,5 +15,6 @@ all: clean css
$(CSS): src/public/css/%.css : src/scss/%.scss $(MIXINS)
@printf "\033[33m SCSS \033[0m%s\n" $<
@mkdir -p $(@D)
@sassc --style compressed $< $@

View file

@ -2,10 +2,14 @@
@import "./variables";
* {
#header, #footer {
behavior: url(boxsizing.htc);
}
.ie-nav {
margin-left: 90px;
}
#main .col {
display: block !important;
width: 100% !important;
@ -16,8 +20,8 @@
padding-bottom: $outer-gap;
}
#nav {
behavior: url(display-table.htc);
#main .right {
margin-top: $outer-gap;
}
#new_comment {

View file

@ -153,6 +153,8 @@ body {
margin: 0 auto;
@include display-table($inner-gap);
ul { padding: none;}
li {
@include display-table-cell;
float: left;
@ -238,6 +240,7 @@ body {
.buttons {
a, img {
height: 30px;
text-decoration: none;
}
}
}

View file

@ -17,7 +17,8 @@
</h1>
<div role="navigation">
<ul id="nav">
<li><?=ilang('action_home',
<li class="ie-nav">
<?=ilang('action_home',
href: $this->get_url('home'),
container: 'h2'
)?></li>