Added font smoothing to the css
This commit is contained in:
parent
f307ba424f
commit
4a262412da
63
css/skeleton.css
vendored
63
css/skeleton.css
vendored
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/* Table of contents
|
/* Table of contents
|
||||||
––––––––––––––––––––––––––––––––––––––––––––––––––
|
––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
- Grid
|
- Grid
|
||||||
- Base Styles
|
- Base Styles
|
||||||
- Typography
|
- Typography
|
||||||
@ -29,16 +29,16 @@
|
|||||||
/* Grid
|
/* Grid
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
.container {
|
.container {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 960px;
|
max-width: 960px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
box-sizing: border-box; }
|
box-sizing: border-box; }
|
||||||
.column,
|
.column,
|
||||||
.columns {
|
.columns {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: left;
|
float: left;
|
||||||
box-sizing: border-box; }
|
box-sizing: border-box; }
|
||||||
|
|
||||||
/* For devices larger than 400px */
|
/* For devices larger than 400px */
|
||||||
@ -55,10 +55,10 @@
|
|||||||
.column,
|
.column,
|
||||||
.columns {
|
.columns {
|
||||||
margin-left: 4%; }
|
margin-left: 4%; }
|
||||||
.column:first-child,
|
.column:first-child,
|
||||||
.columns:first-child {
|
.columns:first-child {
|
||||||
margin-left: 0; }
|
margin-left: 0; }
|
||||||
|
|
||||||
.one.column,
|
.one.column,
|
||||||
.one.columns { width: 4.66666666667%; }
|
.one.columns { width: 4.66666666667%; }
|
||||||
.two.columns { width: 13.3333333333%; }
|
.two.columns { width: 13.3333333333%; }
|
||||||
@ -116,10 +116,11 @@
|
|||||||
/* Base Styles
|
/* Base Styles
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
/* NOTE
|
/* NOTE
|
||||||
html is set to 62.5% so that all the REM measurements throughout Skeleton
|
html is set to 62.5% so that all the REM measurements throughout Skeleton
|
||||||
are based on 10px sizing. So basically 1.5rem = 15px :) */
|
are based on 10px sizing. So basically 1.5rem = 15px :) */
|
||||||
html {
|
html {
|
||||||
font-size: 62.5%; }
|
font-size: 62.5%;
|
||||||
|
-webkit-font-smoothing: antialiased; }
|
||||||
body {
|
body {
|
||||||
font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
|
font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
@ -130,7 +131,7 @@ body {
|
|||||||
|
|
||||||
/* Typography
|
/* Typography
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
font-weight: 300; }
|
font-weight: 300; }
|
||||||
@ -157,13 +158,13 @@ p {
|
|||||||
|
|
||||||
/* Links
|
/* Links
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
a {
|
a {
|
||||||
color: #1EAEDB; }
|
color: #1EAEDB; }
|
||||||
a:hover {
|
a:hover {
|
||||||
color: #0FA0CE; }
|
color: #0FA0CE; }
|
||||||
|
|
||||||
|
|
||||||
/* Buttons
|
/* Buttons
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
.button,
|
.button,
|
||||||
button,
|
button,
|
||||||
@ -179,7 +180,7 @@ input[type="button"] {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 38px;
|
line-height: 38px;
|
||||||
letter-spacing: .1rem;
|
letter-spacing: .1rem;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -284,18 +285,18 @@ label > .label-body {
|
|||||||
|
|
||||||
/* Lists
|
/* Lists
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
ul {
|
ul {
|
||||||
list-style: circle inside; }
|
list-style: circle inside; }
|
||||||
ol {
|
ol {
|
||||||
list-style: decimal inside; }
|
list-style: decimal inside; }
|
||||||
ol, ul {
|
ol, ul {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
margin-top: 0; }
|
margin-top: 0; }
|
||||||
ul ul,
|
ul ul,
|
||||||
ul ol,
|
ul ol,
|
||||||
ol ol,
|
ol ol,
|
||||||
ol ul {
|
ol ul {
|
||||||
margin: 1.5rem 0 1.5rem 3rem;
|
margin: 1.5rem 0 1.5rem 3rem;
|
||||||
font-size: 90%; }
|
font-size: 90%; }
|
||||||
li {
|
li {
|
||||||
margin-bottom: 1rem; }
|
margin-bottom: 1rem; }
|
||||||
@ -378,7 +379,7 @@ hr {
|
|||||||
margin-bottom: 3.5rem;
|
margin-bottom: 3.5rem;
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-top: 1px solid #E1E1E1; }
|
border-top: 1px solid #E1E1E1; }
|
||||||
|
|
||||||
|
|
||||||
/* Clearing
|
/* Clearing
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
@ -386,7 +387,7 @@ hr {
|
|||||||
/* Self Clearing Goodness */
|
/* Self Clearing Goodness */
|
||||||
.container:after,
|
.container:after,
|
||||||
.row:after,
|
.row:after,
|
||||||
.u-cf {
|
.u-cf {
|
||||||
content: "";
|
content: "";
|
||||||
display: table;
|
display: table;
|
||||||
clear: both; }
|
clear: both; }
|
||||||
@ -395,10 +396,10 @@ hr {
|
|||||||
/* Media Queries
|
/* Media Queries
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
/*
|
/*
|
||||||
Note: The best way to structure the use of media queries is to create the queries
|
Note: The best way to structure the use of media queries is to create the queries
|
||||||
near the relevant code. For example, if you wanted to change the styles for buttons
|
near the relevant code. For example, if you wanted to change the styles for buttons
|
||||||
on small devices, paste the mobile query code up in the buttons section and style it
|
on small devices, paste the mobile query code up in the buttons section and style it
|
||||||
there.
|
there.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user