mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-27 14:44:23 +00:00
Introduce runner documentations (#133)
This PR introduces documentation for Runner. <img width="959" alt="图片.png" src="attachments/5ad6a8af-d799-4718-9d33-56bf91a8852e"> Co-authored-by: kerwin612 <kerwin612@qq.com> Reviewed-on: https://gitea.com/gitea/docs/pulls/133 Reviewed-by: Bo-Yi Wu (吳柏毅) <appleboy.tw@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
@@ -131,6 +131,14 @@
|
||||
body:has(.redocusaurus) .navbar__item.dropdown:not(:has(.api-dropdown)) {
|
||||
display: none;
|
||||
}
|
||||
/* hide other dropdowns except for runner dropdown on runner pages */
|
||||
body:has(.runner-dropdown.gt-visible) .navbar__item.dropdown:not(:has(.runner-dropdown)) {
|
||||
display: none;
|
||||
}
|
||||
/* hide dropdown menus that have sub-elements containing 'gt-hidden' */
|
||||
body .navbar__item.dropdown:has(.custom-dropdown.gt-hidden) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 996px) {
|
||||
@@ -139,6 +147,14 @@
|
||||
body:has(.redocusaurus) .menu__list-item.menu__list-item--collapsed:not(:has(.api-dropdown)) {
|
||||
display: none;
|
||||
}
|
||||
/* Hide collapsible menus except for Runner menu on Runner pages */
|
||||
body:has(.runner-dropdown.gt-visible) .menu__list-item.menu__list-item--collapsed:not(:has(.runner-dropdown)) {
|
||||
display: none;
|
||||
}
|
||||
/* Hide dropdown menus that have sub-elements containing 'gt-hidden' */
|
||||
body .menu__list-item.menu__list-item--collapsed:has(.custom-dropdown.gt-hidden) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* selectors like :first-of-type are for browsers those do not support :has */
|
||||
|
||||
Reference in New Issue
Block a user