Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Separated common CSS into separate CSS file - s/text-size/font-size/ - Mobile is 270% normal font size, desktop is 62.5%
- Loading branch information
1 parent
f868569
commit 31b4e26
Showing
6 changed files
with
58 additions
and
58 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
.application { | ||
background-color: #000033; | ||
} | ||
|
||
.header, .content, .sidebar, .footer1, .footer2 { | ||
background-color: #FFFFFF; | ||
padding: 1em 0; | ||
} | ||
|
||
.spacer { | ||
height: 1em; | ||
} | ||
|
||
.header h1 { | ||
padding-left: 0.5em; | ||
font-size: 3em; | ||
} | ||
|
||
.content { | ||
overflow: auto; | ||
} | ||
|
||
.footer1, .footer2 { | ||
text-align: center; | ||
} | ||
|
||
.content h2, .content p, .content dl { | ||
margin-left: 0.5em; | ||
margin-right: 0.5em; | ||
} | ||
|
||
dl dt { | ||
font-weight: bold; | ||
} | ||
|
||
dl dt:after { | ||
content: ":"; | ||
} | ||
|
||
dl dd { | ||
margin-left: 2em; | ||
background-color: #FFCCFF; | ||
border: 1px solid #003333; | ||
padding: 0.5em; | ||
} | ||
|
||
.sidebar ul { | ||
list-style-type: none; | ||
} |
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,53 +1,3 @@ | ||
body { | ||
text-size: 62.5%; | ||
} | ||
|
||
.application { | ||
background-color: #000033; | ||
} | ||
|
||
.header, .content, .sidebar, .footer1, .footer2 { | ||
background-color: #FFFFFF; | ||
padding: 1em 0; | ||
} | ||
|
||
.spacer { | ||
height: 1em; | ||
} | ||
|
||
.header h1 { | ||
padding-left: 0.5em; | ||
text-size: 3em; | ||
} | ||
|
||
.content { | ||
overflow: auto; | ||
} | ||
|
||
.footer1, .footer2 { | ||
text-align: center; | ||
} | ||
|
||
.content h2, .content p, .content dl { | ||
margin-left: 0.5em; | ||
margin-right: 0.5em; | ||
} | ||
|
||
dl dt { | ||
font-weight: bold; | ||
} | ||
|
||
dl dt:after { | ||
content: ":"; | ||
} | ||
|
||
dl dd { | ||
margin-left: 2em; | ||
background-color: #FFCCFF; | ||
border: 1px solid #003333; | ||
padding: 0.5em; | ||
} | ||
|
||
.sidebar ul { | ||
list-style-type: none; | ||
font-size: 62.5%; | ||
} |
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,3 @@ | ||
@import url("/css/mobile-demo-desktop.css"); | ||
|
||
body { | ||
text-size: 270%; | ||
font-size: 270%; | ||
} |