mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
313 lines
4.0 KiB
CSS
313 lines
4.0 KiB
CSS
|
|
body {
|
|
background: #f5f5f5 url('img/bright_squares_interlaced.png') repeat;
|
|
height: 100%;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
font-family: "DejaVu Sans", Verdana, Arial, sans-serif;
|
|
font-weight: normal;
|
|
font-size: 10pt;
|
|
line-height: 1.8;
|
|
color: #363636;
|
|
}
|
|
|
|
#page {
|
|
position: relative;
|
|
width: 700px;
|
|
min-height: 700px;
|
|
margin: 20px auto 0 auto;
|
|
background-color: white;
|
|
padding: 40px 50px;
|
|
border: 1px solid lightgray;
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
|
|
box-shadow: 2px 2px 10px rgba(128, 128, 128, 0.2);
|
|
}
|
|
|
|
#page.small {
|
|
width: auto;
|
|
margin: 5px 5px 0 5px;
|
|
padding: 4%;
|
|
}
|
|
|
|
|
|
#logo {
|
|
width: 330px;
|
|
height: 100px;
|
|
}
|
|
|
|
.small #logo {
|
|
width: 220px;
|
|
height: 67px;
|
|
}
|
|
|
|
.tiny #logo {
|
|
width: 165px;
|
|
height: 50px;
|
|
}
|
|
|
|
#menu {
|
|
background: #5f5f5f;
|
|
margin: 40px -50px;
|
|
padding: 0 50px;
|
|
text-transform: uppercase;
|
|
box-shadow: 0 0 15px #d6d6d6;
|
|
}
|
|
|
|
#menu a {
|
|
color: white;
|
|
height: 100%;
|
|
display: inline-block;
|
|
border-right: 2px solid #f5f5f5;
|
|
font-weight: bold;
|
|
padding: 10px 20px;
|
|
margin: 0;
|
|
position: relative;
|
|
text-decoration: none;
|
|
|
|
-webkit-transition: background .2s ease;
|
|
transition: background .2s ease;
|
|
}
|
|
|
|
#menu a:first-child {
|
|
border-left: 2px solid #f5f5f5;
|
|
}
|
|
|
|
#menu a:hover {
|
|
background: #808080;
|
|
}
|
|
|
|
#menu a div.selection {
|
|
position: absolute;
|
|
bottom: -7px;
|
|
left: 0;
|
|
height: 5px;
|
|
width: 100%;
|
|
background: #dc3912;
|
|
}
|
|
|
|
#page.small #menu {
|
|
margin: 40px -4%;
|
|
padding: 0 4%;
|
|
}
|
|
|
|
#page.tiny #menu {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#page.tiny #menu a {
|
|
display: block;
|
|
border-right: none;
|
|
border-bottom: 2px solid #f5f5f5;
|
|
}
|
|
|
|
#page.tiny #menu a div.selection {
|
|
left: -7px;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 5px;
|
|
}
|
|
|
|
|
|
#likes {
|
|
min-height: 42px;
|
|
margin: 60px 0 20px 0;
|
|
padding: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
div.like {
|
|
float: left;
|
|
width: 120px;
|
|
max-width: 100%;
|
|
height: 42px;
|
|
}
|
|
|
|
#footer {
|
|
color: #b4b4b4;
|
|
text-align: center;
|
|
margin: 5px auto 30px auto;
|
|
}
|
|
|
|
div.cols {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.small div.cols {
|
|
width: 100%;
|
|
}
|
|
|
|
div.cols .left {
|
|
float: left;
|
|
width: 47%;
|
|
}
|
|
|
|
div.cols .right {
|
|
float: right;
|
|
width: 47%;
|
|
}
|
|
|
|
.small div.cols .left,
|
|
.small div.cols .right {
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
div.cols .end {
|
|
clear: both;
|
|
height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
table th,
|
|
table td {
|
|
border: 1px solid #ddd;
|
|
padding: 6px 13px;
|
|
}
|
|
|
|
table tr:nth-child(2n) {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
table.download tr {
|
|
background-color: transparent;
|
|
}
|
|
|
|
table.download td,
|
|
table.download th {
|
|
border: none;
|
|
padding: 5px 20px 5px 0;
|
|
}
|
|
|
|
pre {
|
|
overflow: auto;
|
|
}
|
|
|
|
code {
|
|
margin: 0;
|
|
border: 1px solid #ddd;
|
|
background-color: #fcfcfc;
|
|
border-radius: 2px;
|
|
padding: 0;
|
|
}
|
|
|
|
pre code {
|
|
margin: inherit;
|
|
border: none;
|
|
background-color: transparent;
|
|
border-radius: inherit;
|
|
padding: inherit;
|
|
}
|
|
|
|
|
|
#example {
|
|
font-family: monospace;
|
|
font-size: 12px;
|
|
color: #363636;
|
|
|
|
padding: 4px;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
background-color: #f5f5f5;
|
|
border: 1px solid #e5e5e5;
|
|
border-radius: 2px;
|
|
|
|
overflow: auto;
|
|
width: 100%;
|
|
|
|
border: 1px solid #e5e5e5;
|
|
background-color: #f5f5f5;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.tiny #example {
|
|
font-size: 10px;
|
|
}
|
|
|
|
#example .keyword {
|
|
color: #004ED0;
|
|
}
|
|
#example .string {
|
|
color: orange;
|
|
}
|
|
#example .number {
|
|
color: #dc3912;
|
|
}
|
|
#example .comment {
|
|
color: gray;
|
|
}
|
|
|
|
#commandline {
|
|
width: 100%;
|
|
height: 300px;
|
|
}
|
|
|
|
.tips {
|
|
color: #b4b4b4;
|
|
margin: 10px 0;
|
|
}
|
|
.tips ul {
|
|
margin: 0;
|
|
}
|
|
|
|
h1, h2 {
|
|
font-size: 120%;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 100%;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: square;
|
|
}
|
|
|
|
img {
|
|
border: none;
|
|
}
|
|
|
|
a {
|
|
color: #dc3912;
|
|
}
|
|
|
|
a:visited {
|
|
color: #b82e12;
|
|
}
|
|
|
|
a:hover {
|
|
color: #f43f14;
|
|
}
|
|
|
|
#footer a {
|
|
color: #b4b4b4;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#footer a:hover {
|
|
color: #dc3912;
|
|
}
|
|
|
|
#forkme {
|
|
position: absolute;
|
|
text-align: right;
|
|
top: 0;
|
|
right: 0;
|
|
border: 0;
|
|
}
|
|
|
|
#forkme.small {
|
|
display: none;
|
|
} |