154 lines
2.6 KiB
CSS
154 lines
2.6 KiB
CSS
@font-face {
|
|
font-family: 'IBM Plex Mono';
|
|
src: url('IBMPlexMono-Regular.woff2') format('woff2');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
:root {
|
|
--primary-color: #c35e5e;
|
|
--secondary-color: #7f7f7f;
|
|
--background-color: #f9f9f9;
|
|
--text-color: #444444;
|
|
--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
--font-family-monospace: 'IBM Plex Mono', monospace;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
*::selection {
|
|
background-color: var(--primary-color);
|
|
color: #ffffff;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-family);
|
|
color: var(--text-color);
|
|
font-size: 16px;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-optical-sizing: auto;
|
|
background-color: var(--background-color);
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-weight: normal;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
ul,
|
|
li {
|
|
list-style: none;
|
|
}
|
|
|
|
a {
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.main {
|
|
width: 800px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: calc(100vh - 40px);
|
|
margin: 0 auto;
|
|
border: 2px dotted #ccc;
|
|
border-spacing: 10px;
|
|
margin-top: 20px;
|
|
background-color: #fff;
|
|
padding: 20px;
|
|
}
|
|
|
|
.title {
|
|
font-family: var(--font-family-monospace);
|
|
font-size: 16px;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.title_center {
|
|
font-size: 21px;
|
|
text-align: center;
|
|
}
|
|
|
|
.title .sep {
|
|
color: var(--secondary-color);
|
|
}
|
|
|
|
.description {
|
|
text-align: center;
|
|
}
|
|
|
|
.repository {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.repository__nav {
|
|
display: flex;
|
|
gap: 20px;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.repository__files {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
margin-top: 20px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.repository__files li {
|
|
padding: 5px;
|
|
border: 1px solid #eee;
|
|
}
|
|
|
|
.repository__files .repository__item {
|
|
font-family: var(--font-family-monospace);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.repository__files .date,
|
|
.repository__files .author,
|
|
.repository__files .commit-details a {
|
|
color: var(--secondary-color);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.repository__files a.author {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.repository__files .commit-details {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.repository__files .commit-details p {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
margin: 0;
|
|
} |