mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-28 14:04:45 -04:00
Adjust font sizes.
This commit is contained in:
parent
60b81a46ea
commit
a5687fe03b
11 changed files with 32 additions and 152 deletions
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
font-size: 15px;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
order: 50;
|
order: 50;
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
border: @border-widget;
|
border: @border-widget;
|
||||||
color: #999;
|
color: #999;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
font-size: 0.9em;
|
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
#fallback {
|
#fallback {
|
||||||
display: none;
|
display: none;
|
||||||
max-width: 960px;
|
max-width: 960px;
|
||||||
margin: 32px auto 64px;
|
margin: 0 auto 32px;
|
||||||
|
padding: 32px 16px;
|
||||||
|
|
||||||
table {
|
table {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -24,7 +25,6 @@
|
||||||
border-bottom: 1px solid @col-border;
|
border-bottom: 1px solid @col-border;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 15px;
|
|
||||||
|
|
||||||
a, a:active, a:visited {
|
a, a:active, a:visited {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -1,56 +0,0 @@
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Ubuntu';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 300;
|
|
||||||
src: local('Ubuntu Light'), local('Ubuntu-Light'), url(fonts/Ubuntu-L.woff) format('woff');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Ubuntu';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 700;
|
|
||||||
src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(fonts/Ubuntu-B.woff) format('woff');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Ubuntu';
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: 300;
|
|
||||||
src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(fonts/Ubuntu-LI.woff) format('woff');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Ubuntu';
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: 700;
|
|
||||||
src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'), url(fonts/Ubuntu-BI.woff) format('woff');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Ubuntu Mono';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Ubuntu Mono'), local('UbuntuMono-Regular'), url(fonts/UbuntuMono-R.woff) format('woff');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Ubuntu Mono';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 700;
|
|
||||||
src: local('Ubuntu Mono Bold'), local('UbuntuMono-Bold'), url(fonts/UbuntuMono-B.woff) format('woff');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Ubuntu Mono';
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Ubuntu Mono Italic'), local('UbuntuMono-Italic'), url(fonts/UbuntuMono-RI.woff) format('woff');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Ubuntu Mono';
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: 700;
|
|
||||||
src: local('Ubuntu Mono Bold Italic'), local('UbuntuMono-BoldItalic'), url(fonts/Ubuntu-BI.woff) format('woff');
|
|
||||||
}
|
|
|
@ -27,8 +27,9 @@
|
||||||
@border-widget: 1px solid @col-border;
|
@border-widget: 1px solid @col-border;
|
||||||
@border-widget-sep: 1px solid @col-widget-sep;
|
@border-widget-sep: 1px solid @col-widget-sep;
|
||||||
|
|
||||||
@font-family: Roboto, Ubuntu, Helvetica, Arial, sans-serif;
|
@font-family: Roboto, Helvetica, Arial, sans-serif;
|
||||||
@font-weight: 400;
|
@font-weight: normal;
|
||||||
|
@font-size: 13px;
|
||||||
@font-family-mono: monospace;
|
@font-family-mono: monospace;
|
||||||
|
|
||||||
|
|
||||||
|
@ -67,7 +68,7 @@ body {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
||||||
font-family: @font-family;
|
font-family: @font-family;
|
||||||
font-size: 13px;
|
font-size: @font-size;
|
||||||
font-weight: @font-weight;
|
font-weight: @font-weight;
|
||||||
color: @col;
|
color: @col;
|
||||||
background: @col-back;
|
background: @col-back;
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
|
|
||||||
body#h5ai-info {
|
body#h5ai-info {
|
||||||
font-family: @font-family;
|
|
||||||
margin: 2em auto 4em auto;
|
margin: 2em auto 4em auto;
|
||||||
font-size: 20px;
|
// font-size: 20px;
|
||||||
color: @col;
|
color: @col;
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -39,7 +38,6 @@ body#h5ai-info {
|
||||||
margin: 12px auto 24px auto;
|
margin: 12px auto 24px auto;
|
||||||
padding: 6px 18px;
|
padding: 6px 18px;
|
||||||
width: 164px;
|
width: 164px;
|
||||||
font-size: 12px;
|
|
||||||
background: @col-widget-back;
|
background: @col-widget-back;
|
||||||
border: @border-widget;
|
border: @border-widget;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -94,7 +92,6 @@ body#h5ai-info {
|
||||||
margin: 12px auto;
|
margin: 12px auto;
|
||||||
width: 360px;
|
width: 360px;
|
||||||
color: @col;
|
color: @col;
|
||||||
font-size: 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -142,6 +139,6 @@ body#h5ai-info {
|
||||||
|
|
||||||
|
|
||||||
#bottombar {
|
#bottombar {
|
||||||
font-size: 13px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,11 +10,10 @@
|
||||||
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
|
||||||
|
|
||||||
&.highlighted {
|
&.highlighted {
|
||||||
// word-break: break-all;
|
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: @font-family-mono;
|
font-family: @font-family-mono;
|
||||||
font-size: 16px;
|
font-size: @font-size;
|
||||||
line-height: 1.2em;
|
line-height: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,67 +90,11 @@
|
||||||
.token.entity {
|
.token.entity {
|
||||||
cursor: help;
|
cursor: help;
|
||||||
}
|
}
|
||||||
|
|
||||||
// pre.line-numbers {
|
|
||||||
// position: relative;
|
|
||||||
// padding-left: 3.8em;
|
|
||||||
// counter-reset: linenumber;
|
|
||||||
// }
|
|
||||||
// pre.line-numbers > code {
|
|
||||||
// position: relative;
|
|
||||||
// }
|
|
||||||
// .line-numbers .line-numbers-rows {
|
|
||||||
// position: absolute;
|
|
||||||
// pointer-events: none;
|
|
||||||
// top: 0;
|
|
||||||
// font-size: 100%;
|
|
||||||
// left: -3.8em;
|
|
||||||
// width: 3em; /* works for line-numbers below 1000 lines */
|
|
||||||
// letter-spacing: -1px;
|
|
||||||
// border-right: 1px solid #999;
|
|
||||||
|
|
||||||
// -webkit-user-select: none;
|
|
||||||
// -moz-user-select: none;
|
|
||||||
// -ms-user-select: none;
|
|
||||||
// user-select: none;
|
|
||||||
|
|
||||||
// }
|
|
||||||
// .line-numbers-rows > span {
|
|
||||||
// pointer-events: none;
|
|
||||||
// display: block;
|
|
||||||
// counter-increment: linenumber;
|
|
||||||
// }
|
|
||||||
// .line-numbers-rows > span:before {
|
|
||||||
// content: counter(linenumber);
|
|
||||||
// color: #999;
|
|
||||||
// display: block;
|
|
||||||
// padding-right: 0.8em;
|
|
||||||
// text-align: right;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// .token.tab:not(:empty):before,
|
|
||||||
// .token.cr:before,
|
|
||||||
// .token.lf:before {
|
|
||||||
// color: hsl(24, 20%, 85%);
|
|
||||||
// }
|
|
||||||
// .token.tab:not(:empty):before {
|
|
||||||
// content: '▸';
|
|
||||||
// }
|
|
||||||
// .token.cr:before {
|
|
||||||
// content: '␍';
|
|
||||||
// }
|
|
||||||
// .token.lf:before {
|
|
||||||
// // content: '␊';
|
|
||||||
// content: '¶';
|
|
||||||
// }
|
|
||||||
// .token a {
|
|
||||||
// color: inherit;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
&.markdown {
|
&.markdown {
|
||||||
font-size: 16px;
|
font-size: 1.1em;
|
||||||
padding: 8px 24px;
|
padding: 8px 24px;
|
||||||
|
|
||||||
a, a:active, a:visited {
|
a, a:active, a:visited {
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
-ms-appearance: none;
|
-ms-appearance: none;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
font-family: @font-family;
|
font-family: @font-family;
|
||||||
font-size: 13px;
|
font-size: @font-size;
|
||||||
font-weight: @font-weight;
|
font-weight: @font-weight;
|
||||||
color: @col;
|
color: @col;
|
||||||
background: @col-widget-back;
|
background: @col-widget-back;
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
background-color: @col-widget-back;
|
background-color: @col-widget-back;
|
||||||
border-bottom: @border-widget;
|
border-bottom: @border-widget;
|
||||||
font-weight: lighter;
|
font-weight: lighter;
|
||||||
|
// box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
|
||||||
|
// z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,6 @@
|
||||||
|
|
||||||
&.header {
|
&.header {
|
||||||
display: none;
|
display: none;
|
||||||
font-size: 13px;
|
|
||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
|
|
||||||
a, a:active, a:visited {
|
a, a:active, a:visited {
|
||||||
|
@ -75,8 +74,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.item {
|
&.item {
|
||||||
// font-size: 15px;
|
|
||||||
font-size: 13px;
|
|
||||||
|
|
||||||
a, a:active, a:visited {
|
a, a:active, a:visited {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -14,28 +14,26 @@ head
|
||||||
|
|
||||||
body#h5ai-info
|
body#h5ai-info
|
||||||
|
|
||||||
h1
|
div#main-row
|
||||||
a( href="#{pkg.homepage}" ) #{pkg.name}
|
h1
|
||||||
|
a( href="#{pkg.homepage}" ) #{pkg.name}
|
||||||
|
|
||||||
div#support
|
div#support
|
||||||
| show your love and support for h5ai with a small donation
|
| show your love and support for h5ai with a small donation
|
||||||
div.paypal
|
div.paypal
|
||||||
form( action="https://www.paypal.com/cgi-bin/webscr", method="post", target="_top" )
|
form( action="https://www.paypal.com/cgi-bin/webscr", method="post", target="_top" )
|
||||||
input( type="hidden", name="cmd", value="_s-xclick" )
|
input( type="hidden", name="cmd", value="_s-xclick" )
|
||||||
input( type="hidden", name="hosted_button_id", value="8WSPKWT7YBTSQ" )
|
input( type="hidden", name="hosted_button_id", value="8WSPKWT7YBTSQ" )
|
||||||
input( type="image", src="client/images/paypal.png", border="0", name="submit", alt="PayPal - The safer, easier way to pay online!" )
|
input( type="image", src="client/images/paypal.png", border="0", name="submit", alt="PayPal - The safer, easier way to pay online!" )
|
||||||
|
|
||||||
div#bottombar.clearfix
|
div#bottombar
|
||||||
span.left
|
span.noJsMsg
|
||||||
span.noJsMsg
|
| JavaScript disabled!
|
||||||
| ⚡ JavaScript disabled! ⚡
|
span.noBrowserMsg
|
||||||
span.noBrowserMsg
|
| Works best in
|
||||||
| ⚡ Works best in
|
a( href="http://browsehappy.com" ) modern browsers
|
||||||
a( href="http://browsehappy.com" ) modern browsers
|
| !
|
||||||
| ! ⚡
|
a( href="#{pkg.homepage}", title="#{pkg.name} #{pkg.version} · #{pkg.description}" )
|
||||||
span.right
|
| powered by #{pkg.name} #{pkg.version}
|
||||||
a( href="#{pkg.homepage}", title="#{pkg.name} #{pkg.version} · #{pkg.description}" )
|
|
||||||
| powered by #{pkg.name} #{pkg.version}
|
|
||||||
span.center
|
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue