-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hardcode app fonts over system installed fonts
- Loading branch information
Rich Archer
committed
Apr 25, 2017
1 parent
14ce5af
commit 094ef41
Showing
15 changed files
with
196 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,136 @@ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-family: 'opensanskata'; | ||
src: url("./assets/OpenSans-Regular.woff2") format("woff2"); | ||
font-weight: normal; | ||
font-style: normal; } | ||
body { | ||
font-family: 'opensanskata', sans-serif; | ||
} | ||
|
||
section { | ||
border: 1px solid slategrey; | ||
background-color: white; | ||
position: relative; | ||
} | ||
|
||
h1, .h1 { | ||
font-size: 2em; | ||
line-height: 1.25em; | ||
font-weight: normal; | ||
} | ||
h2 { | ||
font-size: 1.625em; | ||
line-height: 1.153em; | ||
font-weight: normal; | ||
} | ||
h3 { | ||
font-size: 1.375em; | ||
line-height: 1.136em; | ||
font-weight: normal; | ||
} | ||
h4 { | ||
font-size: 1.125em; | ||
line-height: 1.111em; | ||
font-weight: normal; | ||
} | ||
|
||
.display-block img { | ||
display: block; | ||
} | ||
|
||
.display-inline > * { | ||
display: inline-block; | ||
vertical-align: middle; | ||
} | ||
|
||
.medium-image img { | ||
width: 150px; | ||
height: 150px; | ||
} | ||
|
||
.small-image img { | ||
width: 100px; | ||
height: 100px; | ||
} | ||
|
||
.simple-box { | ||
display: block; | ||
padding: 1em; | ||
background-color: tomato; | ||
width: 5em; | ||
height: 5em; | ||
} | ||
.simple-box img { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.simple-box--bordered { | ||
border: 1em solid royalblue; | ||
} | ||
.simple-box--margined { | ||
margin: 1em; | ||
} | ||
.simple-box--small { | ||
box-sizing: border-box; | ||
} | ||
|
||
.box { | ||
background-color: tomato; | ||
text-indent: -1000px; | ||
display: inline-block; | ||
width: 5em; | ||
height: 5em; | ||
vertical-align: bottom; | ||
} | ||
|
||
.nolist { | ||
padding-left: 0; | ||
list-style-type: none; | ||
} | ||
|
||
.circle { | ||
background-color: dodgerblue; | ||
text-indent: -1000px; | ||
display: inline-block; | ||
width: 7em; | ||
height: 7em; | ||
border-radius: 50%; | ||
vertical-align: bottom; | ||
} | ||
|
||
.outline { | ||
display: inline-block; | ||
width: 10em; | ||
height: 10em; | ||
border: 3px solid royalblue; | ||
border-radius: 50%; | ||
text-indent: -1000px; | ||
box-sizing: border-box; | ||
vertical-align: bottom; | ||
} | ||
|
||
.lawn { | ||
display: block; | ||
background-color: seagreen; | ||
width: 20em; | ||
height: 20em; | ||
position: relative; | ||
} | ||
|
||
.ball { | ||
display: block; | ||
width: 4em; | ||
height: 4em; | ||
border-radius: 50%; | ||
background-color: yellow; | ||
} | ||
|
||
.lawn-override { | ||
position: static; | ||
} | ||
|
||
.ball--br { | ||
position: absolute; | ||
bottom: 0; | ||
right: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+35 Bytes
(100%)
...ata/bitmaps_reference/css_kata_Display_Align_0_display-align-images_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+17 Bytes
(100%)
...nce/css_kata_Display_Align_and_resize_0_display-align-resize-images_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1 Byte
(100%)
backstop_data/bitmaps_reference/css_kata_Shapes_Boxes_0_box-align_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1 Byte
(100%)
...s_reference/css_kata_Shapes_Circle_Outlines_0_circle-outlines-align_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3 Bytes
(100%)
backstop_data/bitmaps_reference/css_kata_Shapes_Circles_0_circle-align_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1 Byte
(100%)
backstop_data/bitmaps_reference/css_kata_Shapes_Combo_0_shapes-align_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.63 KB
(96%)
..._reference/css_kata_Typography_101_Body_text_0_typography-body-font_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.05 KB
(94%)
...ce/css_kata_Typography_101_Faux_Headings_0_typography-faux-headings_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.38 KB
(95%)
...ps_reference/css_kata_Typography_101_Headings_0_typography-headings_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.