mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-02 08:53:38 -04:00
Made Open Sans Condensed use small-caps in a bunch of the places it's used as a header font to slightly better match the old font weights of Bangers.
This commit is contained in:
parent
2dee00883c
commit
bfdc671b1d
5 changed files with 14 additions and 16 deletions
app/styles
|
@ -127,6 +127,7 @@ $user-achievements-scale: 0.8
|
||||||
|
|
||||||
.achievement-title
|
.achievement-title
|
||||||
font-family: Open Sans Condensed
|
font-family: Open Sans Condensed
|
||||||
|
font-variant: small-caps
|
||||||
font-size: $overall-scale * 28px
|
font-size: $overall-scale * 28px
|
||||||
padding-left: $overall-scale * -50px
|
padding-left: $overall-scale * -50px
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@ body
|
||||||
.secret
|
.secret
|
||||||
display: none
|
display: none
|
||||||
|
|
||||||
h1 h2 h3 h4
|
h1, h2, h3, h4, h5, h6
|
||||||
letter-spacing: 2px
|
font-variant: small-caps
|
||||||
|
|
||||||
.main-content-area
|
.main-content-area
|
||||||
box-shadow: 0px 0px 10px
|
box-shadow: 0px 0px 10px
|
||||||
|
@ -65,6 +65,7 @@ h1 h2 h3 h4
|
||||||
|
|
||||||
.footer-link-text a
|
.footer-link-text a
|
||||||
font-family: 'Open Sans Condensed', cursive
|
font-family: 'Open Sans Condensed', cursive
|
||||||
|
font-variant: small-caps
|
||||||
font-weight: normal
|
font-weight: normal
|
||||||
font-size: 25px
|
font-size: 25px
|
||||||
letter-spacing: 1px
|
letter-spacing: 1px
|
||||||
|
@ -251,28 +252,17 @@ table.table
|
||||||
|
|
||||||
.header-font
|
.header-font
|
||||||
font-family: $headings-font-family
|
font-family: $headings-font-family
|
||||||
letter-spacing: 2px
|
font-variant: small-caps
|
||||||
|
|
||||||
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
|
|
||||||
font-family: 'Open Sans Condensed', Impact, "Arial Narrow", "Arial", sans-serif
|
|
||||||
text-transform: uppercase
|
|
||||||
letter-spacing: -1px !important
|
|
||||||
|
|
||||||
.header-font
|
|
||||||
font-family: 'Open Sans Condensed', Impact, "Arial Narrow", "Arial", sans-serif !important
|
|
||||||
text-transform: uppercase
|
|
||||||
letter-spacing: -1px !important
|
|
||||||
|
|
||||||
body[lang='ja']
|
body[lang='ja']
|
||||||
h1, h2, h3, h4, h5, h6
|
h1, h2, h3, h4, h5, h6
|
||||||
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", 'Open Sans Condensed', sans-serif
|
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", 'Open Sans Condensed', sans-serif
|
||||||
text-transform: uppercase
|
font-variant: small-caps
|
||||||
letter-spacing: -1px !important
|
letter-spacing: -1px !important
|
||||||
|
|
||||||
.header-font
|
.header-font
|
||||||
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", 'Open Sans Condensed', sans-serif
|
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", 'Open Sans Condensed', sans-serif
|
||||||
text-transform: uppercase
|
font-variant: small-caps
|
||||||
letter-spacing: -1px !important
|
letter-spacing: -1px !important
|
||||||
|
|
||||||
#top-nav
|
#top-nav
|
||||||
|
|
|
@ -75,6 +75,7 @@ a.disabled
|
||||||
padding: 0px
|
padding: 0px
|
||||||
border-radius: 0px
|
border-radius: 0px
|
||||||
font-family: Open Sans Condensed
|
font-family: Open Sans Condensed
|
||||||
|
font-variant: small-caps
|
||||||
|
|
||||||
> .user-dropdown-header
|
> .user-dropdown-header
|
||||||
position: relative
|
position: relative
|
||||||
|
@ -166,6 +167,8 @@ a.disabled
|
||||||
|
|
||||||
div.fancy-select
|
div.fancy-select
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
|
||||||
|
text-transform: none
|
||||||
|
|
||||||
div.trigger
|
div.trigger
|
||||||
background-color: #9d8f5a
|
background-color: #9d8f5a
|
||||||
background-image: linear-gradient(to bottom, #a4955e, #948754)
|
background-image: linear-gradient(to bottom, #a4955e, #948754)
|
||||||
|
@ -174,6 +177,7 @@ a.disabled
|
||||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25)
|
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25)
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05)
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05)
|
||||||
color: white
|
color: white
|
||||||
|
font-variant: small-caps
|
||||||
&:after
|
&:after
|
||||||
border-top-color: white
|
border-top-color: white
|
||||||
&.open
|
&.open
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
color: $yellow
|
color: $yellow
|
||||||
font-size: 90px
|
font-size: 90px
|
||||||
font-family: Open Sans Condensed
|
font-family: Open Sans Condensed
|
||||||
|
font-variant: small-caps
|
||||||
@include transition(color .25s ease-in-out)
|
@include transition(color .25s ease-in-out)
|
||||||
|
|
||||||
&:hover div, &.hovered div
|
&:hover div, &.hovered div
|
||||||
|
@ -80,6 +81,7 @@
|
||||||
color: $yellow
|
color: $yellow
|
||||||
font-size: 50px
|
font-size: 50px
|
||||||
font-family: Open Sans Condensed
|
font-family: Open Sans Condensed
|
||||||
|
font-variant: small-caps
|
||||||
@include transition(color .10s linear)
|
@include transition(color .10s linear)
|
||||||
|
|
||||||
h1
|
h1
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
.overlay-text
|
.overlay-text
|
||||||
color: $yellow
|
color: $yellow
|
||||||
font-family: Open Sans Condensed
|
font-family: Open Sans Condensed
|
||||||
|
font-variant: small-caps
|
||||||
@include transition(color .10s linear)
|
@include transition(color .10s linear)
|
||||||
|
|
||||||
.level-difficulty
|
.level-difficulty
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue