Fixed #776 with some CSS/font fixes and \@therealbond's admin footerization.

This commit is contained in:
Nick Winter 2014-04-11 23:07:48 -07:00
parent a792286161
commit a4284e6209
3 changed files with 21 additions and 8 deletions

View file

@ -212,7 +212,7 @@ table.table
.header-font .header-font
font-family: $headings-font-family font-family: $headings-font-family
body[lang='ru'], body[lang|='zh'], body[lang='ja'], body[lang='pl'], body[lang='tr'], body[lang='cs'], body[lang='el'], body[lang='ro'], body[lang='vi'], body[lang='th'], body[lang='ko'], body[lang='sk'], body[lang='sl'], body[lang='bg'], body[lang='he'], body[lang='lt'], body[lang='sr'], body[lang='uk'], body[lang='hi'], body[lang='ur'], body[lang='ru'], body[lang|='zh'], body[lang='pl'], body[lang='tr'], body[lang='cs'], body[lang='el'], body[lang='ro'], body[lang='vi'], body[lang='th'], body[lang='ko'], body[lang='sk'], body[lang='sl'], body[lang='bg'], body[lang='he'], body[lang='lt'], body[lang='sr'], body[lang='uk'], body[lang='hi'], body[lang='ur'], body[lang='hu']
h1, h2, h3, h4, h5, h6 h1, h2, h3, h4, h5, h6
font-family: 'Open Sans Condensed', Impact, "Arial Narrow", "Arial", sans-serif font-family: 'Open Sans Condensed', Impact, "Arial Narrow", "Arial", sans-serif
text-transform: uppercase text-transform: uppercase
@ -222,6 +222,23 @@ body[lang='ru'], body[lang|='zh'], body[lang='ja'], body[lang='pl'], body[lang='
font-family: 'Open Sans Condensed', Impact, "Arial Narrow", "Arial", sans-serif !important font-family: 'Open Sans Condensed', Impact, "Arial Narrow", "Arial", sans-serif !important
text-transform: uppercase text-transform: uppercase
letter-spacing: -1px !important letter-spacing: -1px !important
body[lang='ja']
h1, h2, h3, h4, h5, h6
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, " Pゴシック", "MS PGothic", 'Open Sans Condensed', sans-serif
text-transform: uppercase
letter-spacing: -1px !important
.header-font
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, " Pゴシック", "MS PGothic", 'Open Sans Condensed', sans-serif
text-transform: uppercase
letter-spacing: -1px !important
#top-nav
.navbar-nav
li
a.header-font
font-size: 16px
@media only screen and (max-width: 800px) @media only screen and (max-width: 800px)
.main-content-area .main-content-area

View file

@ -11,7 +11,7 @@
letter-spacing: 1px letter-spacing: 1px
.navbuttontext-user-name .navbuttontext-user-name
max-width: 125px max-width: 110px
overflow: hidden overflow: hidden
text-overflow: ellipsis text-overflow: ellipsis
white-space: nowrap white-space: nowrap

View file

@ -51,12 +51,6 @@ body
a.header-font(href='http://blog.codecombat.com/', data-i18n="nav.blog") Blog a.header-font(href='http://blog.codecombat.com/', data-i18n="nav.blog") Blog
li.forum li.forum
a.header-font(href='http://discourse.codecombat.com/', data-i18n="nav.forum") Forum a.header-font(href='http://discourse.codecombat.com/', data-i18n="nav.forum") Forum
if me.isAdmin()
li.admin
a.header-font(href='/admin', data-i18n="nav.admin") Admin
block outer_content block outer_content
@ -79,6 +73,8 @@ body
a(href='/legal', title='Legal', tabindex=-1, data-i18n="nav.legal") Legal a(href='/legal', title='Legal', tabindex=-1, data-i18n="nav.legal") Legal
a(href='/about', title='About', tabindex=-1, data-i18n="nav.about") About a(href='/about', title='About', tabindex=-1, data-i18n="nav.about") About
a(title='Contact', tabindex=-1, data-toggle="coco-modal", data-target="modal/contact", data-i18n="nav.contact") Contact a(title='Contact', tabindex=-1, data-toggle="coco-modal", data-target="modal/contact", data-i18n="nav.contact") Contact
if me.isAdmin()
a(href='/admin', data-i18n="nav.admin") Admin
.share-buttons .share-buttons
.g-plusone(data-href="http://codecombat.com", data-size="medium") .g-plusone(data-href="http://codecombat.com", data-size="medium")