Skip to content

Commit

Permalink
Fix typography responsive and apply reset
Browse files Browse the repository at this point in the history
  • Loading branch information
ernysans committed Oct 6, 2017
1 parent c475080 commit 07599a9
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions classes/typography.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,24 @@
<dom-module id="skin-typography">
<template>
<style is="custom-style">
/*
* Reset browser fonts
*/
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
li {
@apply --paper-font-common-base;
@apply --paper-font-body1;
margin: 0;
padding: 0;
}

/*
"Line wrapping only applies to Body, Subhead, Headline, and the smaller Display
styles. All other styles should exist as single lines."
Expand Down Expand Up @@ -170,58 +188,72 @@

/*noinspection ALL*/
.paper-font-display4 {
@apply --paper-font-display4;
}

/*noinspection ALL*/
.paper-font-display3 {
@apply --paper-font-display3;
}

/*noinspection ALL*/
.paper-font-display2 {
@apply --paper-font-display2;
}

/*noinspection ALL*/
.paper-font-display1 {
@apply --paper-font-display1;
}

/*noinspection ALL*/
.paper-font-headline {
@apply --paper-font-headline;
}

/*noinspection ALL*/
.paper-font-title {
@apply --paper-font-title;
}

/*noinspection ALL*/
.paper-font-subhead {
@apply --paper-font-subhead;
}

/*noinspection ALL*/
.paper-font-body2 {
@apply --paper-font-body2;
}

/*noinspection ALL*/
.paper-font-body1 {
@apply --paper-font-body2;
}

/*noinspection ALL*/
.paper-font-caption {
@apply --paper-font-caption;
}

/*noinspection ALL*/
.paper-font-menu {
@apply --paper-font-menu;
}

/*noinspection ALL*/
.paper-font-button {
@apply --paper-font-button;
}

/*noinspection ALL*/
.paper-font-code2 {
@apply --paper-font-code2;
}

/*noinspection ALL*/
.paper-font-code1 {
@apply --paper-font-code1;
}

/* ===========================
Expand Down

0 comments on commit 07599a9

Please sign in to comment.