mirror of https://gitlab.com/litecord/litecord.git
add nicer layout on the css
thanks @fursona for the headstart on css grid layout
This commit is contained in:
parent
a8b4493d0b
commit
8e880830e8
|
|
@ -1,3 +1,55 @@
|
|||
#content {
|
||||
text-align: center;
|
||||
:root {
|
||||
--background-color: #11151c;
|
||||
--title-color: #ad7a99;
|
||||
--text-color: #a1a6b4;
|
||||
--link-color: #b4d2e7;
|
||||
|
||||
/* todo */
|
||||
--anoter: #364156;
|
||||
}
|
||||
|
||||
html, body {
|
||||
background: var(--background-color);
|
||||
}
|
||||
|
||||
h1, p {
|
||||
font-size: 20px;
|
||||
|
||||
/* ok i dont have verdana lmao help */
|
||||
font-family: "Verdana", sans-serif;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 30px;
|
||||
color: var(--title-color);
|
||||
}
|
||||
|
||||
/* main page layout for the description and links */
|
||||
|
||||
#page {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 600px 1fr;
|
||||
grid-gap: 50px;
|
||||
}
|
||||
|
||||
article {
|
||||
font-size: 13px;
|
||||
grid-column-start: 2;
|
||||
grid-column-end: 3;
|
||||
}
|
||||
|
||||
aside {
|
||||
grid-column-start: 3;
|
||||
grid-column-end: 4;
|
||||
}
|
||||
|
||||
/* custom color for <a>'s */
|
||||
a {
|
||||
color: var(--link-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,42 +3,42 @@
|
|||
<title>{{ inst_name }} - index</title>
|
||||
<link href="css/index.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main id="content">
|
||||
<h1>
|
||||
welcome to {{ inst_name }}, a Litecord instance
|
||||
</h1>
|
||||
<h1 class="title">
|
||||
{{ inst_name }} | a Litecord instance
|
||||
</h1>
|
||||
|
||||
<p>
|
||||
Litecord is an open-source reimplementation of the Discord API.
|
||||
</p>
|
||||
<div id="page">
|
||||
|
||||
<p>
|
||||
Discord frontend modifications being hosted in this instance
|
||||
are not, and will never be, related to the Litecord project.
|
||||
</p>
|
||||
<article>
|
||||
<p>Litecord is an open-source reimplementation
|
||||
of the Discord API.</p>
|
||||
|
||||
<p>
|
||||
By accessing an instance containing such modifications, the instance
|
||||
is breaking the Discord Terms of Service. Proceed with caution.
|
||||
</p>
|
||||
<p>Discord frontend modifications being hosted
|
||||
in this instance are not, and will never be,
|
||||
related to the Litecord project.</p>
|
||||
|
||||
<p>
|
||||
It supports nodeinfo, despite not being part
|
||||
in any federated network.
|
||||
</p>
|
||||
<p>By accessing an instance containing such
|
||||
modifications, the instance is breaking the Discord
|
||||
Terms of Service. Proceed with caution.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="https://gitlab.com/litecord/litecord">
|
||||
<p>It supports nodeinfo, despite not being part
|
||||
in any federated network.
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<aside>
|
||||
<p><a href="https://gitlab.com/litecord/litecord">
|
||||
Litecord source code
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{request.protocol}}/nodeinfo/2.1.json">
|
||||
</a></p>
|
||||
<p><a href="{{request.protocol}}/nodeinfo/2.1.json">
|
||||
This instance's nodeinfo (general statistics)
|
||||
</a>
|
||||
</p>
|
||||
</a></p>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Reference in New Issue