forked from 0x2620/oxjs
make SyntaxHighlighter and SourceViewer more useful by allowing replacements; remove index.json and source/Ox/png; plus some other small and/or cosmetic changes
This commit is contained in:
parent
24eb4bdc64
commit
03f4f77ce6
16 changed files with 213 additions and 230 deletions
89
index.css
89
index.css
|
|
@ -19,41 +19,96 @@ div {
|
|||
color: rgb(240, 240, 240);
|
||||
}
|
||||
|
||||
|
||||
.line {
|
||||
width: 384px;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
.OxThemeClassic .bar {
|
||||
background-image: -moz-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192));
|
||||
background-image: -o-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192));
|
||||
background-image: -webkit-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192));
|
||||
}
|
||||
.OxThemeModern .bar {
|
||||
background-image: -moz-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32));
|
||||
background-image: -o-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32));
|
||||
background-image: -webkit-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32));
|
||||
}
|
||||
|
||||
.link {
|
||||
font-size: 12px;
|
||||
.button {
|
||||
padding: 0 4px 0 4px;
|
||||
border-radius: 4px;
|
||||
margin: 0 3px 0 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.link:hover {
|
||||
.button.selected {
|
||||
cursor: default;
|
||||
}
|
||||
.button:hover {
|
||||
box-shadow: 0 0 1px rgb(0, 0, 0);
|
||||
}
|
||||
.OxThemeClassic .button:hover {
|
||||
//background-color: rgba(255, 255, 255, 0.5);
|
||||
box-shadow: 0 0 1px rgba(0, 0, 0, 1);
|
||||
}
|
||||
.OxThemeClassic .button.selected {
|
||||
background-color: rgb(255, 255, 255);
|
||||
box-shadow: 0 0 1px rgb(0, 0, 0);
|
||||
}
|
||||
.OxThemeModern .button:hover {
|
||||
//background-color: rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 1px rgba(255, 255, 255, 1);
|
||||
}
|
||||
.OxThemeModern .button.selected {
|
||||
background-color: rgb(0, 0, 0);
|
||||
box-shadow: 0 0 1px rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.doclink {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.link.selected {
|
||||
.OxComment .doclink {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.line {
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 256px;
|
||||
height: 128px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sections {
|
||||
.page {
|
||||
width: 512px;
|
||||
padding: 32px;
|
||||
margin: 16px auto 16px auto;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.themes {
|
||||
width: 80px;
|
||||
.page blockquote {
|
||||
margin-left: 28px;
|
||||
}
|
||||
.page code, .page pre {
|
||||
font-size: 12px;
|
||||
}
|
||||
.page h1 {
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
}
|
||||
.page h2 {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
.OxThemeClassic .page {
|
||||
border-color: rgb(208, 208, 208);
|
||||
background: rgb(255, 255, 255);
|
||||
}
|
||||
.OxThemeModern .page {
|
||||
border-color: rgb(48, 48, 48);
|
||||
background: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.ui {
|
||||
position: absolute;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue