99 lines
No EOL
2.1 KiB
CSS
99 lines
No EOL
2.1 KiB
CSS
.git-container {
|
|
background-color: #00000000;
|
|
border-radius: 1rem;
|
|
width: var(--content-3-width);
|
|
height: 10rem;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.git-container svg {
|
|
width: 3rem;
|
|
height: auto;
|
|
color: var(--color-subtext);
|
|
transform: translate(-10px, -8px) !important;
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.git-container h1 {
|
|
font-family: "JetBrains Mono";
|
|
font-weight: 800;
|
|
font-size: 1.2rem;
|
|
margin: 1rem;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.git-loading {
|
|
background: linear-gradient(90deg, rgba(248, 241, 241, 1) 0%, rgba(15, 11, 17, 0.31) 50%, rgba(248, 241, 241, 1) 100%);
|
|
background-size: 200% 100%;
|
|
}
|
|
|
|
.git-commit {
|
|
margin-left: auto;
|
|
border-radius: 1rem;
|
|
margin-right: 0.3rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.git-commit:hover {
|
|
background-color: var(--color-code);
|
|
}
|
|
|
|
.git-commit svg {
|
|
transform: translate(0) !important;
|
|
width: 2rem;
|
|
margin-left: 0.3rem;
|
|
margin-right: 0.3rem;
|
|
}
|
|
|
|
.git-commit p {
|
|
color: var(--color-subtext);
|
|
font-family: "JetBrains Mono";
|
|
font-size: 1rem;
|
|
margin: 0;
|
|
margin-left: 0.6rem;
|
|
user-select: none;
|
|
}
|
|
|
|
.git-tag span {
|
|
color: var(--color-text);
|
|
background-color: var(--color-pill);
|
|
font-family: "JetBrains Mono";
|
|
font-weight: 500;
|
|
font-size: 0.7rem;
|
|
margin-bottom: 1rem;
|
|
margin-left: 0.8rem;
|
|
padding: 0.4rem;
|
|
border-radius: var(--border-min);
|
|
}
|
|
|
|
.git-color {
|
|
height: 1rem;
|
|
width: 100%;
|
|
background-color: red;
|
|
}
|
|
|
|
.git-color>div {
|
|
height: 100%;
|
|
transition: var(--transition);
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
|
|
[data-tooltip]:hover::after {
|
|
display: block;
|
|
position: absolute;
|
|
content: attr(data-tooltip);
|
|
font-family: "JetBrains Mono";
|
|
font-weight: 500;
|
|
font-size: 0.8rem;
|
|
background-color: var(--color-text);
|
|
color: var(--color-background);
|
|
transform: translateY(1rem);
|
|
padding: 0.8rem;
|
|
border-radius: 1rem;
|
|
box-shadow: rgba(79, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
|
|
opacity: 0.8;
|
|
} |