mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-21 00:44:47 +02:00
v2 wip
This commit is contained in:
Vendored
+7
File diff suppressed because one or more lines are too long
Vendored
+2
File diff suppressed because one or more lines are too long
Vendored
+1
File diff suppressed because one or more lines are too long
@@ -0,0 +1,85 @@
|
||||
.nb-notebook {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.nb-stdout, .nb-stderr {
|
||||
white-space: pre-wrap;
|
||||
margin: 1em 0;
|
||||
padding: 0.1em 0.5em;
|
||||
}
|
||||
|
||||
.nb-stderr {
|
||||
background-color: #FAA;
|
||||
}
|
||||
|
||||
.nb-cell + .nb-cell {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
.nb-output table {
|
||||
border: 1px solid #000;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.nb-output th {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.nb-output th, .nb-output td {
|
||||
border: 1px solid #000;
|
||||
padding: 0.25em;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.nb-notebook blockquote {
|
||||
border-left: 5px solid #CCC;
|
||||
margin-left: 0;
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
.nb-cell {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nb-raw-cell {
|
||||
white-space: pre-wrap;
|
||||
background-color: #f5f2f0;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
}
|
||||
|
||||
.nb-output {
|
||||
min-height: 1em;
|
||||
width: 100%;
|
||||
overflow-x: scroll;
|
||||
border-right: 1px dotted #CCC;
|
||||
}
|
||||
|
||||
.nb-output img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.nb-output:before, .nb-input:before {
|
||||
position: absolute;
|
||||
font-family: monospace;
|
||||
color: #999;
|
||||
left: -7.5em;
|
||||
width: 7em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.nb-input:before {
|
||||
content: "In [" attr(data-prompt-number) "]:";
|
||||
}
|
||||
.nb-output:before {
|
||||
content: "Out [" attr(data-prompt-number) "]:";
|
||||
}
|
||||
|
||||
// Fix pandas dataframe formatting
|
||||
div[style="max-height:1000px;max-width:1500px;overflow:auto;"] {
|
||||
max-height: none !important;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
/* PrismJS 1.21.0
|
||||
https://prismjs.com/download.html#themes=prism&languages=markup+clike+javascript+julia+python+r */
|
||||
/**
|
||||
* prism.js default theme for JavaScript, CSS and HTML
|
||||
* Based on dabblet (http://dabblet.com)
|
||||
* @author Lea Verou
|
||||
*/
|
||||
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: black;
|
||||
background: none;
|
||||
text-shadow: 0 1px white;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
font-size: 1em;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
||||
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
||||
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
@media print {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: #f5f2f0;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: .1em;
|
||||
border-radius: .3em;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.token.comment,
|
||||
.token.prolog,
|
||||
.token.doctype,
|
||||
.token.cdata {
|
||||
color: slategray;
|
||||
}
|
||||
|
||||
.token.punctuation {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.token.namespace {
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
.token.property,
|
||||
.token.tag,
|
||||
.token.boolean,
|
||||
.token.number,
|
||||
.token.constant,
|
||||
.token.symbol,
|
||||
.token.deleted {
|
||||
color: #905;
|
||||
}
|
||||
|
||||
.token.selector,
|
||||
.token.attr-name,
|
||||
.token.string,
|
||||
.token.char,
|
||||
.token.builtin,
|
||||
.token.inserted {
|
||||
color: #690;
|
||||
}
|
||||
|
||||
.token.operator,
|
||||
.token.entity,
|
||||
.token.url,
|
||||
.language-css .token.string,
|
||||
.style .token.string {
|
||||
color: #9a6e3a;
|
||||
/* This background color was intended by the author of this theme. */
|
||||
background: hsla(0, 0%, 100%, .5);
|
||||
}
|
||||
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
color: #07a;
|
||||
}
|
||||
|
||||
.token.function,
|
||||
.token.class-name {
|
||||
color: #DD4A68;
|
||||
}
|
||||
|
||||
.token.regex,
|
||||
.token.important,
|
||||
.token.variable {
|
||||
color: #e90;
|
||||
}
|
||||
|
||||
.token.important,
|
||||
.token.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
+150
-62
@@ -14,7 +14,11 @@
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.btn:focus,
|
||||
.btn:active {
|
||||
outline: none !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
textarea,
|
||||
select,
|
||||
input,
|
||||
@@ -29,10 +33,8 @@ body {
|
||||
}
|
||||
header {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
.view {
|
||||
width: 100%;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@@ -53,7 +55,11 @@ header {
|
||||
line-height: 40px;
|
||||
}
|
||||
.navbar:not(.top-nav-collapse) {
|
||||
background: transparent !important;
|
||||
/* background: transparent !important; */
|
||||
}
|
||||
.navbar-brand {
|
||||
width: 280px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
@@ -82,26 +88,26 @@ header {
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.btn,
|
||||
.white_border,
|
||||
.black_border {
|
||||
border: 1px solid white;
|
||||
padding: 7px;
|
||||
background: transparent;
|
||||
color: white;
|
||||
min-width: 115px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.card-header .btn {
|
||||
border: none;
|
||||
}
|
||||
.btn,
|
||||
.btn:hover,
|
||||
a.white_border,
|
||||
a.white_border:hover,
|
||||
a.black_border,
|
||||
a.black_border:hover {
|
||||
padding: 10px;
|
||||
color: white;
|
||||
}
|
||||
.white_border:focus,
|
||||
.black_border:focus {
|
||||
background: #333333;
|
||||
border: 1px solid #333333;
|
||||
}
|
||||
.btn::placeholder,
|
||||
.white_border::placeholder,
|
||||
.black_border::placeholder {
|
||||
/* Chrome, Firefox, Opera, Safari 10.1+ */
|
||||
@@ -109,13 +115,23 @@ a.black_border:hover {
|
||||
opacity: 1; /* Firefox */
|
||||
}
|
||||
|
||||
.profile-photo {
|
||||
border-radius: 50%;
|
||||
height: 30px;
|
||||
position: relative;
|
||||
display: inline;
|
||||
}
|
||||
.btn,
|
||||
.black_border {
|
||||
border: 1px solid #333333;
|
||||
}
|
||||
.btn,
|
||||
.btn:hover,
|
||||
a.black_border,
|
||||
a.black_border:hover {
|
||||
color: #333333;
|
||||
}
|
||||
.btn::placeholder,
|
||||
.black_border::placeholder {
|
||||
/* Chrome, Firefox, Opera, Safari 10.1+ */
|
||||
color: #666666;
|
||||
@@ -136,62 +152,44 @@ a.black_border:hover {
|
||||
margin: auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.hljs {
|
||||
background: #f8f8f8 !important;
|
||||
}
|
||||
pre {
|
||||
margin: 0;
|
||||
background: #f8f8f8;
|
||||
-moz-tab-size: 4;
|
||||
tab-size: 4;
|
||||
}
|
||||
/* for block of numbers */
|
||||
.hljs-ln-numbers {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
text-align: right;
|
||||
color: #d1d1d1;
|
||||
vertical-align: top;
|
||||
padding-right: 5px !important;
|
||||
}
|
||||
|
||||
/* for block of code */
|
||||
.hljs-ln-code {
|
||||
padding-left: 5px !important;
|
||||
}
|
||||
|
||||
.files {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
.leftCol {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
overflow: scroll;
|
||||
width: 310px;
|
||||
z-index: 9;
|
||||
background: #ecedef;
|
||||
background: white;
|
||||
}
|
||||
.files {
|
||||
position: relative;
|
||||
display: block;
|
||||
overflow: scroll;
|
||||
height: calc(100% - 168px);
|
||||
}
|
||||
.stats {
|
||||
height: 120px;
|
||||
overflow: scroll;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.files a {
|
||||
display: block;
|
||||
padding: 4px 4px 4px 30px;
|
||||
color: #6e6e6f;
|
||||
padding: 0px 3px 0px 25px;
|
||||
color: #555555;
|
||||
}
|
||||
|
||||
.files .file,
|
||||
.files .folder {
|
||||
position: relative;
|
||||
color: #6e6e6f;
|
||||
color: #555555;
|
||||
cursor: pointer;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.files .file.active a,
|
||||
.files .file a:hover {
|
||||
background: #c7cbd2;
|
||||
color: #77777a;
|
||||
background: #ecedef;
|
||||
color: #555555;
|
||||
}
|
||||
.files ul {
|
||||
list-style: none;
|
||||
@@ -201,10 +199,10 @@ pre {
|
||||
.files li ul {
|
||||
padding-left: 10px;
|
||||
}
|
||||
.files .folder tree {
|
||||
.files .folder > ul {
|
||||
display: none;
|
||||
}
|
||||
.files .folder.open > tree {
|
||||
.files .folder.open > ul {
|
||||
display: block;
|
||||
}
|
||||
.files .file::before {
|
||||
@@ -213,13 +211,16 @@ pre {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
width: 7px;
|
||||
padding: 4px;
|
||||
padding-left: 8px;
|
||||
color: #3ba3f8;
|
||||
padding: 1px;
|
||||
padding-left: 1px;
|
||||
color: #858b90;
|
||||
}
|
||||
.ace_editor {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.files .folder::before {
|
||||
content: "\f07b";
|
||||
color: #3ba3f8;
|
||||
}
|
||||
.files .folder.open::before {
|
||||
content: "\f07c";
|
||||
@@ -227,7 +228,7 @@ pre {
|
||||
|
||||
.paths {
|
||||
background-color: #ffffff;
|
||||
padding: 8px 4px;
|
||||
padding: 8px 6px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
@@ -239,7 +240,12 @@ pre {
|
||||
.paths a {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.paths .breadcrumb-item {
|
||||
padding-left: 3px;
|
||||
}
|
||||
.paths .breadcrumb-item::before {
|
||||
padding-right: 3px;
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.main {
|
||||
width: 100%;
|
||||
@@ -269,20 +275,43 @@ pre {
|
||||
.repo .options {
|
||||
float: right;
|
||||
}
|
||||
.main > .container-fluid,
|
||||
.main > .container-fluid > .row,
|
||||
.body {
|
||||
.main > .container-fluid {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.row.top {
|
||||
padding-left: 0;
|
||||
color: #ffffff;
|
||||
background-color: #4a507b;
|
||||
}
|
||||
.row.center {
|
||||
position: relative;
|
||||
height: calc(100% - 56px);
|
||||
}
|
||||
.body {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
.content {
|
||||
height: 100%;
|
||||
overflow: scroll;
|
||||
padding-top: 42px;
|
||||
background: #f8f8f8;
|
||||
text-align: center;
|
||||
}
|
||||
.file-content {
|
||||
padding: 4px 7px;
|
||||
text-align: left;
|
||||
background: #ffffff;
|
||||
min-height: 100%;
|
||||
}
|
||||
.image-content {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
text-align: center;
|
||||
padding: 4px;
|
||||
}
|
||||
.file-error {
|
||||
font-weight: bold;
|
||||
@@ -290,3 +319,62 @@ pre {
|
||||
text-align: center;
|
||||
padding-top: 100px;
|
||||
}
|
||||
|
||||
.preview {
|
||||
height: 100%;
|
||||
overflow: scroll;
|
||||
}
|
||||
pdfviewer {
|
||||
display: block;
|
||||
padding: 15px;
|
||||
}
|
||||
pdfpageviewer {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
notebook {
|
||||
display: block;
|
||||
text-align: left;
|
||||
padding: 15px;
|
||||
padding-left: 100px;
|
||||
}
|
||||
|
||||
.floatingchat-container-wrap {
|
||||
left: inherit !important;
|
||||
bottom: inherit !important;
|
||||
top: 3px !important;
|
||||
height: 47px !important;
|
||||
right: 3px !important;
|
||||
}
|
||||
.floating-chat-kofi-popup-iframe {
|
||||
left: inherit !important;
|
||||
bottom: inherit !important;
|
||||
top: 55px !important;
|
||||
right: 10px !important;
|
||||
}
|
||||
|
||||
#navbar {
|
||||
padding-right: 150px;
|
||||
}
|
||||
|
||||
.accordion-section .panel-default .panel-title a:after {
|
||||
font-family: "FontAwesome";
|
||||
font-style: normal;
|
||||
font-size: 3rem;
|
||||
content: "\f106";
|
||||
color: #1f7de2;
|
||||
float: right;
|
||||
margin-top: -12px;
|
||||
}
|
||||
.accordion-section .panel-default .panel-title a.collapsed:after {
|
||||
content: "\f107";
|
||||
}
|
||||
.accordion-section .panel-default .panel-body {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.table.repositories td {
|
||||
word-break: break-word;
|
||||
}
|
||||
Reference in New Issue
Block a user