forked from Decentrala/website
Compare commits
No commits in common. "c890e98279a036de82ef85fb49d464faa9d83635" and "cfcdf341292ce8fe6796211d7b578f13254eed2e" have entirely different histories.
c890e98279
...
cfcdf34129
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="40"
|
||||
height="40"
|
||||
viewBox="0 0 10 10"
|
||||
version="1.1"
|
||||
id="svg5"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<g
|
||||
id="layer1">
|
||||
<path
|
||||
id="path1336"
|
||||
style="fill:#181715;stroke-width:0.504542;fill-opacity:1"
|
||||
d="M 10 0 L 8.8911133 0.57714844 L 8.8862305 0.58544922 L 0.96435547 4.2792969 A 10 10 0 0 0 1.574707 5.3740234 L 7.6362305 2.5473633 L 4.1142578 8.0756836 A 10 10 0 0 0 5.1674805 8.7485352 L 8.6904297 3.21875 L 8.6904297 9.9086914 A 10 10 0 0 0 9.9404297 9.9975586 L 9.9404297 1.2568359 L 9.9453125 1.2490234 L 10 0 z " />
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 773 B |
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="40"
|
||||
height="40"
|
||||
viewBox="0 0 10 10"
|
||||
version="1.1"
|
||||
id="svg5"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<g
|
||||
id="layer1">
|
||||
<path
|
||||
id="path1336"
|
||||
style="fill:#181715;fill-opacity:1;stroke-width:0.504542"
|
||||
d="M 5 0.0029296875 L 4.375 1.0859375 L 4.375 1.0952148 L 0.35400391 7.4072266 A 8.75 8.75 0 0 0 1.4614258 7.9956055 L 4.375 3.4213867 L 4.375 8.7265625 A 8.75 8.75 0 0 0 5 8.75 A 8.75 8.75 0 0 0 5.625 8.7265625 L 5.625 3.4213867 L 8.5390625 7.9956055 A 8.75 8.75 0 0 0 9.6464844 7.4072266 L 5.625 1.0952148 L 5.625 1.0859375 L 5 0.0029296875 z " />
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 799 B |
17
index.html
17
index.html
@ -4,7 +4,6 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/styles/reset.css">
|
||||
<link rel="stylesheet" href="/styles/style.css">
|
||||
<link rel="stylesheet" href="/styles/home.css">
|
||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
@ -14,7 +13,7 @@
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<a id="logo" href="/index.html">Decentrala</a>
|
||||
<a class="logo" href="/index.html">Decentrala</a>
|
||||
<span>
|
||||
<button id="theme-switcher">turn the lights off</button>
|
||||
<a class="account" href="/pages/account.html">Nalog</a>
|
||||
@ -65,14 +64,12 @@
|
||||
<a href="/pages/contact.html">Kontakt</a>
|
||||
</span>
|
||||
<span class="copyleft">
|
||||
<span class="links">
|
||||
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="/img/cc-light.svg"
|
||||
alt="CreativeCommons"></a>
|
||||
<a href=""><img src="/img/w-light.svg" alt="Webring"></a>
|
||||
<a href="https://gitea.dmz.rs/eline/decentrala-website-static-new"><img src="/img/git-light.svg"
|
||||
alt="SourceCode"></a>
|
||||
<a href="https://balkan.fedive.rs/@decentrala"><img src="/img/mastodon-light.svg" alt="Mastodon"></a>
|
||||
</span>
|
||||
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="/img/cc-light.svg"
|
||||
alt="CreativeCommons"></a>
|
||||
<a href=""><img src="/img/w-light.svg" alt="Webring"></a>
|
||||
<a href="https://gitea.dmz.rs/eline/decentrala-website-static-new"><img src="/img/git-light.svg"
|
||||
alt="SourceCode"></a>
|
||||
<a href="https://balkan.fedive.rs/@decentrala"><img src="/img/mastodon-light.svg" alt="Mastodon"></a>
|
||||
<span>Decentrala © 2023</span>
|
||||
</span>
|
||||
</footer>
|
||||
|
@ -90,6 +90,6 @@ main.addEventListener("click", (event) => {
|
||||
}
|
||||
});
|
||||
|
||||
// DEBUG;
|
||||
DEBUG;
|
||||
console.log(window.innerWidth);
|
||||
console.log(window.innerHeight);
|
||||
|
149
styles/reset.css
149
styles/reset.css
@ -1,149 +0,0 @@
|
||||
/* Copyright (c) 2023 Luka Ivanovic */
|
||||
/* https://github.com/luka-hash/css-reset */
|
||||
/* This code is licensed under MIT licence */
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a,
|
||||
article,
|
||||
audio,
|
||||
blockquote,
|
||||
body,
|
||||
canvas,
|
||||
caption,
|
||||
code,
|
||||
dd,
|
||||
del,
|
||||
details,
|
||||
div,
|
||||
dl,
|
||||
dt,
|
||||
em,
|
||||
fieldset,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
form,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
header,
|
||||
hgroup,
|
||||
html,
|
||||
iframe,
|
||||
img,
|
||||
ins,
|
||||
kbd,
|
||||
label,
|
||||
legend,
|
||||
li,
|
||||
mark,
|
||||
menu,
|
||||
nav,
|
||||
ol,
|
||||
output,
|
||||
p,
|
||||
pre,
|
||||
s,
|
||||
section,
|
||||
small,
|
||||
span,
|
||||
strong,
|
||||
sub,
|
||||
summary,
|
||||
sup,
|
||||
table,
|
||||
tbody,
|
||||
td,
|
||||
tfoot,
|
||||
th,
|
||||
thead,
|
||||
time,
|
||||
tr,
|
||||
ul,
|
||||
video {
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
article,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
menu,
|
||||
nav,
|
||||
section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
line-height: 1.5;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
quotes: none;
|
||||
}
|
||||
|
||||
blockquote::before,
|
||||
blockquote::after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
img,
|
||||
picture,
|
||||
video,
|
||||
canvas,
|
||||
svg {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
textarea,
|
||||
select {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
overflow-wrap: break-word;
|
||||
hyphens: auto;
|
||||
}
|
@ -34,12 +34,10 @@ body {
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
grid-template:
|
||||
"header" 10vh
|
||||
"main" 1fr
|
||||
"footer" 10vh
|
||||
/ 1fr;
|
||||
gap: 0;
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: 5rem 1fr 5rem;
|
||||
grid-column-gap: 0px;
|
||||
grid-row-gap: 0px;
|
||||
font-family: 'Iosevka';
|
||||
}
|
||||
|
||||
@ -52,17 +50,17 @@ footer {
|
||||
}
|
||||
|
||||
header {
|
||||
grid-area: "header";
|
||||
grid-area: 1 / 1 / 2 / 2;
|
||||
border-bottom: 2px solid var(--border);
|
||||
}
|
||||
|
||||
footer {
|
||||
grid-area: "footer";
|
||||
grid-area: 3 / 1 / 4 / 2;
|
||||
border-top: 2px solid var(--border);
|
||||
}
|
||||
|
||||
#main {
|
||||
grid-area: "main";
|
||||
grid-area: 2 / 1 / 3 / 2;
|
||||
padding: 3rem 3rem 3rem 3rem;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2rem;
|
||||
@ -87,7 +85,7 @@ a:focus {
|
||||
text-decoration: line-through var(--text);
|
||||
}
|
||||
|
||||
#logo {
|
||||
.logo {
|
||||
font-size: 3rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
@ -100,7 +98,7 @@ a:focus {
|
||||
|
||||
#mesh {
|
||||
position: absolute;
|
||||
bottom: 10vh;
|
||||
bottom: 5rem;
|
||||
right: 0;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
@ -123,20 +121,6 @@ screen and (max-width: 1500px) {
|
||||
}
|
||||
}
|
||||
|
||||
.links {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 540px) {
|
||||
#logo {
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
|
||||
.links {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#sections-button {
|
||||
display: none;
|
||||
}
|
||||
@ -149,8 +133,8 @@ screen and (max-width: 1500px) {
|
||||
border: 2px solid var(--border);
|
||||
background-color: var(--bg);
|
||||
position: absolute;
|
||||
bottom: calc(10vh - 2px);
|
||||
left: calc(0px - 2px);
|
||||
bottom: calc(5rem - 2px);
|
||||
left: 0;
|
||||
align-items: center;
|
||||
padding: 2rem 3rem;
|
||||
display: none;
|
||||
|
Loading…
Reference in New Issue
Block a user