mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-13 06:20:24 +00:00
Related issue: https://codeberg.org/forgejo/forgejo/issues/8581 This should be a nice first step towards RTL support. Future PRs can look at updating the tailwind classes, changing some of the icons (arrow left might need to become arrow right in some cases for example, and updating the template files) Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12491 Reviewed-by: 0ko <0ko@noreply.codeberg.org>
77 lines
1.7 KiB
CSS
77 lines
1.7 KiB
CSS
.repository.wiki .wiki-pages-list tr:hover {
|
|
background-color: var(--color-hover);
|
|
}
|
|
|
|
.repository.wiki .wiki-pages-list .wiki-git-entry {
|
|
margin-inline-start: 10px;
|
|
display: none;
|
|
}
|
|
|
|
.repository.wiki .wiki-pages-list tr:hover .wiki-git-entry {
|
|
display: inline-block;
|
|
}
|
|
|
|
.repository.wiki .markup {
|
|
overflow: visible;
|
|
}
|
|
|
|
.repository.wiki .markup[data-tab-panel="markdown-previewer"] {
|
|
min-height: 340px; /* This height matches the markdown editor's height */
|
|
}
|
|
|
|
.repository.wiki .ui.message.unicode-escape-prompt {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.repository.wiki .wiki-content-parts .markup {
|
|
background-color: var(--color-box-body);
|
|
border: 1px solid var(--color-secondary);
|
|
border-radius: var(--border-radius);
|
|
padding: 1em;
|
|
margin-top: 1em;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.repository.wiki .wiki-content-main.with-sidebar {
|
|
float: inline-start;
|
|
width: 80%;
|
|
max-width: calc(100% - 150px - 1em); /* match the min-width of .wiki-content-sidebar */
|
|
}
|
|
|
|
.repository.wiki .wiki-content-sidebar {
|
|
float: inline-end;
|
|
width: calc(20% - 1em);
|
|
min-width: 150px;
|
|
}
|
|
|
|
.repository.wiki .wiki-content-sidebar .ui.message.unicode-escape-prompt p {
|
|
display: none;
|
|
}
|
|
|
|
.repository.wiki .wiki-content-footer {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.repository.wiki .wiki-content-toc ul {
|
|
margin: 0;
|
|
list-style: none;
|
|
padding: 5px 0 5px 1em;
|
|
}
|
|
|
|
.repository.wiki .wiki-content-toc ul ul {
|
|
border-inline-start: 1px var(--color-secondary);
|
|
border-inline-start-style: dashed;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.repository.wiki .clone-panel #repo-clone-url {
|
|
width: 160px;
|
|
}
|
|
.repository.wiki .wiki-content-main.with-sidebar,
|
|
.repository.wiki .wiki-content-sidebar {
|
|
float: none;
|
|
width: 100%;
|
|
min-width: unset;
|
|
max-width: unset;
|
|
}
|
|
}
|