Improve usability and visual appearance by increasing page-side spacing (#43824).

Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24408 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2026-02-14 08:31:14 +00:00
parent d7d3b6ac9b
commit d454acbceb
2 changed files with 5 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
color: var(--oc-white);
font-size: 0.8em;
padding-block: 2px;
padding-inline: 12px 10px;
padding-inline: 16px 14px;
}
#top-menu ul {margin: 0; padding: 0;}
#top-menu li {
@@ -100,7 +100,7 @@ pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
background: linear-gradient(180deg, #628DB6 30%, #356D92); /* no match in Open Color, using hex code */
color: var(--oc-gray-0);
padding-block: 4px 20px;
padding-inline: 16px;
padding-inline: 20px;
position: relative;
}
#header a {color: var(--oc-gray-0);}
@@ -123,7 +123,7 @@ pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
#main-menu {
position: absolute;
inset-block-end: 0px;
inset-inline-start: 10px;
inset-inline-start: 14px;
margin-inline-end: -500px;
inline-size: 100%;
}
@@ -229,7 +229,7 @@ pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
background-color: var(--oc-white);
margin: 0;
padding-block: 18px 10px;
padding-inline: 16px;
padding-inline: 20px;
overflow-x: auto;
}

View File

@@ -214,6 +214,7 @@
inline-size: 100%;
min-block-size: 0; /* reset min-height of #content */
margin: 0;
padding-inline: 16px;
}
/* hide sidebar and sidebar switch panel, since it's placed in mobile flyout menu */