oxjs/index.css

123 lines
1.9 KiB
CSS

body {
margin: 0;
}
.animate, .loading, .warning {
position: absolute;
z-index: 1001;
}
.OxCode .doclink {
text-decoration: underline;
}
.OxComment .doclink {
font-size: 12px;
text-decoration: none;
}
.OxComment .doclink:hover {
text-decoration: underline;
}
.loading {
left: 0;
right: 0;
width: 32px;
height: 32px;
margin: auto;
}
.page {
width: 576px;
padding: 32px;
margin: 32px auto 32px auto;
border-radius: 8px;
font-size: 14px;
line-height: 20px;
}
.page code, .page pre {
font-size: 12px;
}
.page h1 {
font-size: 18px;
line-height: 24px;
}
.page h2 {
font-size: 16px;
line-height: 22px;
}
.readme .item {
padding: 4px 8px 4px 8px;
border-radius: 8px;
margin: 8px;
cursor: pointer;
}
.readme .item.selected {
cursor: normal;
}
.readme .item .title {
font-size: 14px;
}
.readme .item .date {
margin-top: 2px;
font-size: 12px;
}
.readme .text {
padding: 8px;
font-size: 14px;
line-height: 20px;
}
.readme .text code, .readme .text pre {
font-size: 12px;
}
.readme .text h1 {
font-size: 18px;
line-height: 24px;
}
.readme .text h2 {
font-size: 16px;
line-height: 22px;
}
.screen {
width: 100%;
height: 100%;
z-index: 1000;
}
.warning {
width: 256px;
text-align: justify;
}
body.OxThemeClassic,
.OxThemeClassic .screen {
background-color: rgb(240, 240, 240);
}
body.OxThemeModern,
.OxThemeModern .screen {
background-color: rgb(16, 16, 16);
}
.OxThemeClassic .page {
background: rgb(255, 255, 255);
}
.OxThemeModern .page {
background: rgb(0, 0, 0);
}
.OxThemeClassic .logo,
.OxThemeClassic .page {
box-shadow: 0 0 1px rgb(0, 0, 0)
}
.OxThemeModern .logo,
.OxThemeModern .page {
box-shadow: 0 0 1px rgb(255, 255, 255)
}
.OxThemeClassic .readme .item.selected {
background: rgb(224, 224, 224);
}
.OxThemeModern .readme .item.selected {
background: rgb(32, 32, 32);
}