feat(ui): Initial design work
This commit is contained in:
+61
@@ -0,0 +1,61 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="style.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<main class="main">
|
||||||
|
<h1 class="title title_center">sorcia</h1>
|
||||||
|
<div class="description">
|
||||||
|
<p>A simple, open-source, self-hosted, and privacy-focused Git service.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="repository">
|
||||||
|
<h3 class="title"><a href="">mysticmode</a><span>/</span><a href="">sorcia</a></h3>
|
||||||
|
|
||||||
|
<nav class="repository__nav">
|
||||||
|
<a href="">Code</a>
|
||||||
|
<a href="">Issues</a>
|
||||||
|
<a href="">Pull Requests</a>
|
||||||
|
<a href="">Actions</a>
|
||||||
|
<a href="">Projects</a>
|
||||||
|
<a href="">Wiki</a>
|
||||||
|
<a href="">Security</a>
|
||||||
|
<a href="">Insights</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<div class="repository__last-commit">
|
||||||
|
<p>Latest commit <span>abc1234</span> on <span>2024-06-01</span></p>
|
||||||
|
</div>
|
||||||
|
<ul class="repository__files">
|
||||||
|
<li>
|
||||||
|
<a class="repository__item" href="">src/</a>
|
||||||
|
<div class="commit-desc"><a href="">Initial commit</a><span class="date">2024-06-01</span></div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="repository__item" href="">docs/</a>
|
||||||
|
<div class="commit-desc"><a href="">Add documentation</a><span class="date">2024-06-01</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="repository__item" href="">README.md</a>
|
||||||
|
<div class="commit-desc"><a href="">Update README</a><span class="date">2024-06-01</span></div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="repository__item" href="">.gitignore</a>
|
||||||
|
<div class="commit-desc"><a href="">Add .gitignore</a><span class="date">2024-06-01</span></div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,128 @@
|
|||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::selection {
|
||||||
|
background-color: #e7a85f;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
||||||
|
color: #333;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-optical-sizing: auto;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
|
font-weight: normal;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul,
|
||||||
|
li {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #c35e5e;
|
||||||
|
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: 'IBM Plex Mono', monospace;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #c35e5e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title_center {
|
||||||
|
font-size: 24px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title span {
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description {
|
||||||
|
color: #555;
|
||||||
|
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 a {
|
||||||
|
font-family: 'IBM Plex Mono', monospace;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repository__files .repository__item {
|
||||||
|
color: #c35e5e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repository__files .date {
|
||||||
|
color: #999;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repository__files .commit-desc {
|
||||||
|
color: #999;
|
||||||
|
font-size: 12px;
|
||||||
|
margin-top: 5px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user