og/assets/style.css

183 lines
2.3 KiB
CSS
Raw Normal View History

2023-08-02 18:37:47 -04:00
p {
2023-08-02 19:56:35 -04:00
margin: 0px;
2023-08-02 22:00:54 -04:00
}
.wrapper {
2023-08-03 03:06:43 -04:00
background-color: #10121d;
2023-08-02 22:00:54 -04:00
display: flex;
align-items: center;
flex-direction: column;
width: 1200px;
height: 600px;
2023-08-02 18:37:47 -04:00
}
.main {
color: #ffffff;
display: flex;
2023-08-02 22:00:54 -04:00
flex-direction: column;
2023-08-03 05:40:18 -04:00
gap: 1rem;
2023-08-02 18:37:47 -04:00
justify-content: center;
align-items: center;
2023-08-02 22:00:54 -04:00
width: 1050px;
2023-08-02 18:37:47 -04:00
height: 600px;
}
2023-08-02 22:00:54 -04:00
.has-languages .main {
height: 576px;
}
2023-08-02 18:37:47 -04:00
.contents {
display: flex;
2023-08-02 22:00:54 -04:00
width: 100%;
2023-08-03 03:06:43 -04:00
gap: 30px;
2023-08-02 18:37:47 -04:00
}
.info {
display: flex;
flex-direction: column;
justify-content: center;
2023-08-03 03:06:43 -04:00
width: 900px;
2023-08-02 18:37:47 -04:00
}
.graphics {
display: flex;
justify-content: flex-end;
align-items: flex-start;
2023-08-03 03:06:43 -04:00
width: 120px;
2023-08-02 18:37:47 -04:00
}
.graphics > img {
border-radius: 100%;
width: 120px;
height: 120px;
}
2023-08-02 19:56:35 -04:00
2023-08-02 23:26:39 -04:00
.title {
2023-08-03 03:06:43 -04:00
width: 100%;
2023-08-02 22:21:14 -04:00
font-weight: 800;
font-size: 4.5rem;
2023-08-02 23:26:39 -04:00
line-height: 1em;
margin-bottom: 0.1em;
}
.issue .title {
2023-08-02 22:21:14 -04:00
display: flex;
column-gap: 0.25em;
flex-wrap: wrap;
2023-08-03 03:06:43 -04:00
}
.repo .title {
white-space: nowrap;
}
.title span.word {
max-width: 100%;
padding: 2rem 0;
margin: -2rem 0;
white-space: nowrap;
}
.title span.word:last-child {
overflow: hidden;
text-overflow: ellipsis;
2023-08-02 22:21:14 -04:00
}
.issue .number {
font-weight: 400;
color: #6d728f;
}
2023-08-02 22:00:54 -04:00
.repo .author {
2023-08-02 19:56:35 -04:00
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 2.5rem;
2023-08-03 03:10:55 -04:00
font-weight: 600;
color: #aeb3d0;
2023-08-02 19:56:35 -04:00
}
2023-08-02 22:00:54 -04:00
.repo .author .username {
2023-08-02 19:56:35 -04:00
font-size: 1.75rem;
2023-08-03 03:10:55 -04:00
font-weight: 400;
color: #6d728f;
}
.issue .repo-name {
font-size: 2.5rem;
color: #6d728f;
2023-08-02 19:56:35 -04:00
}
2023-08-03 05:40:18 -04:00
.commit .repo-name {
font-size: 2.5rem;
color: #6d728f;
}
2023-08-02 19:56:35 -04:00
.repo .repo-name {
font-weight: 800;
font-size: 4.5rem;
line-height: 1.2em;
}
2023-08-02 22:00:54 -04:00
.description {
2023-08-03 10:49:05 -04:00
width: 100%;
font-size: 42px;
font-weight: 500;
color: #8c91af;
2023-08-03 03:06:43 -04:00
overflow: hidden;
2023-08-03 10:49:05 -04:00
display: -webkit-box;
-webkit-box-orient: vertical;
2023-08-03 03:06:43 -04:00
text-overflow: ellipsis;
2023-08-03 10:49:05 -04:00
-webkit-line-clamp: 2;
}
.is-debug .description {
display: block;
}
2023-08-02 22:00:54 -04:00
.languages {
width: 100%;
display: flex;
height: 24px;
}
.language {
height: 100%;
}
2023-08-02 22:03:37 -04:00
.info-line {
display: flex;
font-size: 1.75rem;
color: #6d728f;
2023-08-02 22:03:37 -04:00
gap: 0.5em;
align-items: center;
width: 100%;
}
2023-08-03 05:40:18 -04:00
.info-line:last-child {
margin-top: 1rem;
}
2023-08-02 22:03:37 -04:00
.info-line .author {
color: #ffffff;
font-weight: 700;
}
.info-line .avatar {
width: 48px;
height: 48px;
margin: 0;
border-radius: 100%;
}
2023-08-02 23:50:27 -04:00
2023-08-03 00:02:53 -04:00
.fact {
2023-08-02 23:50:27 -04:00
display: flex;
2023-08-03 00:02:53 -04:00
margin-right: 0.5em;
2023-08-02 23:50:27 -04:00
font-size: 1.5rem;
flex-direction: column;
}
2023-08-03 00:02:53 -04:00
.fact-heading {
2023-08-02 23:50:27 -04:00
color: #8c91af;
font-size: 2rem;
2023-08-03 03:10:55 -04:00
font-weight: 600;
2023-08-02 23:50:27 -04:00
}