mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-12-21 22:23:56 +00:00
Synchronized repository commit page layout and styles
This commit is contained in:
16
styles/templates/repo/commit_sign_badge.ts
Normal file
16
styles/templates/repo/commit_sign_badge.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { css, themeVars, otherThemeVars } from "src/types/vars";
|
||||
|
||||
export const commitSignBadge = css`
|
||||
.github-theme-sha {
|
||||
border-radius: ${otherThemeVars.border.radius};
|
||||
font-weight: 500;
|
||||
padding: 0px 8px;
|
||||
height: 26px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
&:hover {
|
||||
background-color: ${themeVars.color.hover.self};
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user