og/assets/style.css

117 lines
1.7 KiB
CSS
Raw Normal View History

2023-12-21 09:21:41 -05:00
body {
font-family: 'DM Sans', Arial, Helvetica, sans-serif;
2023-12-21 09:21:41 -05:00
margin: 0;
}
2023-09-10 14:48:50 -04:00
div {
display: flex;
}
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
}
.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-09-10 14:48:50 -04:00
.info {
display: flex;
flex-direction: column;
justify-content: center;
width: 900px;
}
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;
}
2023-08-03 03:06:43 -04:00
.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
}
.description {
2023-08-03 10:49:05 -04:00
width: 100%;
padding: 0.5em 0;
margin: -0.5em 0;
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;
2023-12-21 09:21:41 -05:00
line-clamp: 2;
2023-08-03 10:49:05 -04:00
}
.is-debug .description {
display: block;
}
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-09-10 14:48:50 -04:00
.languages {
width: 100%;
2023-08-02 23:50:27 -04:00
display: flex;
2023-09-10 14:48:50 -04:00
height: 24px;
2023-08-02 23:50:27 -04:00
}
2023-09-10 14:48:50 -04:00
.language {
height: 100%;
2023-08-02 23:50:27 -04:00
}