Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web_src/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
}

.admin dl.admin-dl-horizontal dt {
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
width: 220px;
margin-right: 5px;
overflow: hidden;
Expand Down
12 changes: 8 additions & 4 deletions web_src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
--fonts-proportional: -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial;
--fonts-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace, var(--fonts-emoji);
--fonts-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla";
--font-weight-bold: 600;
/* font weights */
--font-weight-normal: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-weight-bold: 700;
/* backgrounds */
--checkbox-mask-checked: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 18 18" width="16" height="16"><path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path></svg>');
--checkbox-mask-indeterminate: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M2 7.75A.75.75 0 012.75 7h10a.75.75 0 010 1.5h-10A.75.75 0 012 7.75z"></path></svg>');
Expand Down Expand Up @@ -215,7 +219,7 @@ h3,
h4,
h5,
h6 {
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
}

body {
Expand Down Expand Up @@ -1733,7 +1737,7 @@ img.ui.avatar,
}

.scrolling.menu .item.selected {
font-weight: var(--font-weight-bold) !important;
font-weight: var(--font-weight-semibold) !important;
}

.ui.dropdown .scrolling.menu {
Expand Down Expand Up @@ -2718,7 +2722,7 @@ table th[data-sortt-desc] .svg {
.ellipsis-button {
padding: 0 5px 8px !important;
display: inline-block !important;
font-weight: var(--font-weight-bold) !important;
font-weight: var(--font-weight-semibold) !important;
line-height: 6px !important;
vertical-align: middle !important;
}
Expand Down
2 changes: 1 addition & 1 deletion web_src/css/chroma/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

/* GenericStrong */
.chroma .gs {
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
}

/* GenericUnderline */
Expand Down
2 changes: 1 addition & 1 deletion web_src/css/features/imagediff.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}

.image-diff-container .diff-side-by-side .side .side-header {
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
}

.image-diff-container .diff-swipe {
Expand Down
2 changes: 1 addition & 1 deletion web_src/css/helpers.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Gitea's private styles use `g-` prefix.
font-size: .95em !important; /* compensate for monospace fonts being usually slightly larger */
}

.gt-bold { font-weight: var(--font-weight-bold) !important; }
.gt-bold { font-weight: var(--font-weight-semibold) !important; }

.gt-word-break {
word-wrap: break-word !important;
Expand Down
2 changes: 1 addition & 1 deletion web_src/css/install.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
margin: 20px auto;
color: var(--color-red);
text-align: left;
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
}

.page-content.install .ui .reinstall-confirm {
Expand Down
6 changes: 3 additions & 3 deletions web_src/css/markup/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
.markup h6 {
margin-top: 24px;
margin-bottom: 16px;
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
line-height: 1.25;
}

Expand Down Expand Up @@ -252,7 +252,7 @@
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
}

.markup dl dd {
Expand Down Expand Up @@ -284,7 +284,7 @@
}

.markup table th {
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
}

.markup table th,
Expand Down
4 changes: 2 additions & 2 deletions web_src/css/repo.css
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@
}

.repository .data-table th {
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
background: var(--color-box-header);
border-top: 0;
}
Expand Down Expand Up @@ -1991,7 +1991,7 @@
}

.repository.settings.branches .branch-protection .status-check-matched-mark {
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
font-style: italic;
}

Expand Down
2 changes: 1 addition & 1 deletion web_src/css/shared/issuelist.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
color: var(--color-text);
font-size: 16px;
min-width: 0;
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
}

.issue.list > .item .issue-item-top-row a.index {
Expand Down
2 changes: 1 addition & 1 deletion web_src/css/user.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.user.profile .ui.card .header {
display: block;
font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-semibold);
font-size: 1.3rem;
margin-top: -0.2rem;
line-height: 1.3rem;
Expand Down