mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
added ability to change font size. todo: refresh on select newfont, better way to hide/show settings
This commit is contained in:
parent
44b7b35ba0
commit
a507121b51
5 changed files with 95 additions and 1 deletions
26
css/main.css
26
css/main.css
|
@ -261,6 +261,32 @@ input:-moz-placeholder {
|
|||
display: block;
|
||||
}
|
||||
|
||||
#settingsPanel {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#settingsPanel h3 {
|
||||
color:#f1f1f1;
|
||||
font-family:Georgia, "Times New Roman", Times, serif;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
|
||||
#settingsPanel ul {
|
||||
margin-top:60px;
|
||||
list-style-type:none;
|
||||
}
|
||||
|
||||
#settingsPanel li {
|
||||
font-size:1em;
|
||||
color:#f1f1f1;
|
||||
}
|
||||
|
||||
#settingsPanel .xsmall { font-size:x-small; }
|
||||
#settingsPanel .small { font-size:small; }
|
||||
#settingsPanel .medium { font-size:medium; }
|
||||
#settingsPanel .large { font-size:large; }
|
||||
#settingsPanel .xlarge { font-size:x-large; }
|
||||
|
||||
@media only screen and (max-width: 1040px) {
|
||||
#area{
|
||||
width: 50%;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue