1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 03:11:07 +00:00
Files
seahub/frontend/src/css/wiki.css

185 lines
3.0 KiB
CSS
Raw Normal View History

2018-08-06 18:29:12 +08:00
.wiki-side-nav {
flex:auto;
display:flex;
flex-direction:column;
overflow:hidden; /* for ff */
border-right:1px solid #eee;
background: #f5f7fa;
}
.wiki-pages-heading {
font-size: 1rem;
font-weight: normal;
text-align:center;
padding:.5rem 0rem;
border-bottom:1px solid #e8e8e8;
line-height: 1.5;
height:40px;
}
.wiki-pages-container {
overflow: hidden;
padding-bottom: 10px;
}
.wiki-pages-container:hover {
overflow: auto;
}
.wiki-pages-container .tree-view {
padding-left:0;
}
.wiki-md-viewer-rendered-content {
padding: 30px 0 0;
}
.wiki-pages-container .tree-node-inner {
line-height: 1.625;
}
.wiki-pages-container .folder-toggle-icon {
color: #c0c0c0;
line-height: 1.625;
}
.wiki-pages-container .tree-node-icon {
color: #b0b0b0;
}
.wiki-main .cur-view-path {
border-bottom: 1px solid #e8e8e8;
margin-bottom: 8px;
}
.wiki-main .cur-view-path::after {
display:none;
}
2018-08-10 17:05:29 +08:00
img[src=""] {
opacity: 0;
}
.wiki-main-panel {
flex: 1 0 80%;
display:flex;
flex-direction:column;
}
.wiki-side-panel {
flex: 0 0 20%;
display:flex;
flex-direction:column;
overflow:hidden;
}
.cur-view-container {
display: flex;
}
.cur-view-container .markdown-container {
2018-08-06 18:29:12 +08:00
padding-left: 40px;
padding-right: 40px;
2018-08-10 17:05:29 +08:00
display: flex;
2018-08-10 17:26:37 +08:00
flex: 1;
2018-08-10 17:05:29 +08:00
overflow: auto;
}
.cur-view-container .markdown-content {
flex: 1;
width: calc(100% - 200px);
padding-right: 40px;
}
.cur-view-container .markdown-outline {
position: sticky;
width: 200px;
padding: 0 18px;
top: 0;
}
.wiki-hide {
display: none !important;
}
@media (max-width: 991.98px) {
.cur-view-container .markdown-container {
padding-right: 40px;
}
.cur-view-container .markdown-content {
padding-right: 0;
}
.cur-view-container .markdown-outline {
display: none;
}
}
.wiki-main .wiki-viewer-outline {
position: relative;
top: 0;
padding: 0;
list-style: none;
border-left: solid 1px #eee;
}
.textindent-2 {
text-indent: 18px;
}
.wiki-main .wiki-outline-item {
padding: 3px 15px;
font-size: 14px;
}
.wiki-outline-item a {
display: block;
color: #444;
text-decoration: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.wiki-outline-item a:hover {
color: #eb8205;
text-decoration: underline;
}
.wiki-outline-item-active {
border-left: 1px solid #eb8205;
}
.wiki-outline-item-active a {
color: #eb8205 !important;
2018-08-06 18:29:12 +08:00
}
.wiki-page-ops {
position:fixed;
top:10px;
}
@media (min-width: 768px) {
.wiki-page-ops:before {
content:'';
border-left:1px solid #ddd;
position:absolute;
top:3px;
left:-16px;
bottom:3px;
}
}
.wiki-page-list-item {
word-break:break-all;
line-height:1.6;
margin:3px 0;
}
.wiki-page-link,
.wiki-page-link:hover {
font-size:1.15em;
font-weight:normal;
color:#444;
margin-left:5px;
}
#wiki-page-last-modified {
margin-top:40px;
font-size:12px;
color: #666;
}
2018-08-06 23:58:23 +08:00
.wiki-md-viewer-rendered-content.article h1 {
margin-top: 0;
2018-08-17 12:23:55 +08:00
}