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 "_*") SCSS = $(shell find src/scss -name "*.scss" -not -name "_*")
CSS = $(patsubst src/scss/%.scss,src/public/css/%.css,$(SCSS)) CSS = $(patsubst src/scss/%.scss,src/public/css/%.css,$(SCSS))
.PHONY: all css dir clean .PHONY: all css clean
css: dir $(CSS) css: $(CSS)
dir:
@mkdir -p src/public/css
clean: clean:
@printf "\033[31m RM \033[0m%s\n" src/public/css @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) $(CSS): src/public/css/%.css : src/scss/%.scss $(MIXINS)
@printf "\033[33m SCSS \033[0m%s\n" $< @printf "\033[33m SCSS \033[0m%s\n" $<
@mkdir -p $(@D)
@sassc --style compressed $< $@ @sassc --style compressed $< $@

View file

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

View file

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

View file

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