mirror of https://github.com/gogs/gogs.git
IPythonNotebook: fix a bit more CSS
parent
2374a3ef64
commit
5d6ea4a81b
|
@ -1328,6 +1328,9 @@ footer .ui.language .menu {
|
|||
.repository.file.list #file-content #ipython-notebook .nb-cell {
|
||||
position: relative;
|
||||
}
|
||||
.repository.file.list #file-content #ipython-notebook .nb-cell.nb-heading-cell {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
.repository.file.list #file-content #ipython-notebook .nb-raw-cell {
|
||||
white-space: pre-wrap;
|
||||
background-color: #f5f2f0;
|
||||
|
@ -1353,6 +1356,7 @@ footer .ui.language .menu {
|
|||
padding: 5px 10px;
|
||||
}
|
||||
.repository.file.list #file-content #ipython-notebook .nb-input pre code {
|
||||
min-height: 18px;
|
||||
line-height: 18px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
@ -1382,7 +1386,7 @@ footer .ui.language .menu {
|
|||
border-collapse: collapse;
|
||||
}
|
||||
.repository.file.list #file-content #ipython-notebook .nb-markdown-cell {
|
||||
background-color: #eee;
|
||||
margin-top: 10px;
|
||||
margin-right: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
|
|
@ -256,7 +256,7 @@
|
|||
padding-top: 1px;
|
||||
|
||||
.nb-notebook {
|
||||
line-height: 1.5;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.nb-stdout, .nb-stderr {
|
||||
|
@ -275,6 +275,10 @@
|
|||
|
||||
.nb-cell {
|
||||
position: relative;
|
||||
|
||||
&.nb-heading-cell {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.nb-raw-cell {
|
||||
|
@ -305,6 +309,7 @@
|
|||
padding: 5px 10px;
|
||||
|
||||
code {
|
||||
min-height: 18px;
|
||||
line-height: 18px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
@ -340,7 +345,7 @@
|
|||
}
|
||||
|
||||
.nb-markdown-cell {
|
||||
background-color: #eee;
|
||||
margin-top: 10px;
|
||||
margin-right: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue