Meta stuff and css stuff and logo stuff :D

This commit is contained in:
ThatOneCalculator 2022-02-28 15:50:00 -08:00
parent 80b574cbb9
commit eaedefb495
3 changed files with 140 additions and 119 deletions

View File

@ -1,102 +1,118 @@
body,
html {
height: 100%;
height: 100%;
}
body {
background-color: #26233a;
margin: 0;
background-color: #191724;
margin: 0;
}
pre {
margin: 0;
margin: 0;
}
.wrapper {
display: flex;
padding: 1rem 0.5rem;
font-size: 1rem;
height: calc(100% - 2rem);
display: flex;
padding: 1rem 0.5rem;
font-size: 1rem;
height: calc(100% - 2rem);
}
.line-numbers {
color: #908caa;
font-family: monospace;
text-align: end;
user-select: none;
font-size: 15px;
color: #908caa;
font-family: monospace;
text-align: end;
user-select: none;
font-size: 15px;
}
#code-view {
padding-top: 0;
padding-bottom: 0;
font-size: 15px;
padding-top: 0;
padding-bottom: 0;
font-size: 15px;
}
textarea {
background-color: transparent;
resize: none;
width: 100%;
height: 100%;
padding: 0;
padding-left: 1rem;
margin: 0;
border: none;
outline: 0;
color: #fff;
font-size: 15px;
background-color: transparent;
resize: none;
width: 100%;
height: 100%;
padding: 0;
padding-left: 1rem;
margin: 0;
border: none;
outline: 0;
color: #fff;
font-size: 15px;
}
.button-wrapper {
position: absolute;
top: 0;
right: 0;
padding: 1rem;
background-color: #191724;
z-index: 1000;
position: absolute;
top: 0;
right: 0;
padding: 1rem;
background-color: #191724;
z-index: 1000;
}
.buttons {
display: flex;
display: flex;
}
.buttons > * + * {
margin-left: 0.25rem;
.buttons>*+* {
margin-left: 0.25rem;
}
.btn {
cursor: pointer;
background: 0 0;
color: #9ccfd8;
font-size: 1rem;
border: none;
transition: background-color 0.2s ease-in-out;
display: inline-block;
text-decoration: none;
cursor: pointer;
background: 0 0;
color: #9ccfd8;
font-size: 1rem;
border: none;
transition: background-color 0.2s ease-in-out;
display: inline-block;
text-decoration: none;
}
.btn:hover {
color: #fff;
color: #fff;
}
.btn:disabled,
.btn[disabled] {
color: #6e6a86;
color: #6e6a86;
}
.logo {
font-size: 1.8rem;
font-weight: 700;
text-align: center;
text-decoration: none;
color: #8fbcc8;
width: 100%;
font-family: monospace;
display: inline-block;
font-size: 1.8rem;
font-weight: 700;
text-align: center;
text-decoration: none;
color: #8fbcc8;
width: 100%;
font-family: monospace;
display: inline-block;
}
.logo:hover {
color: #fff;
color: #fff;
}
#messages {
position: absolute;
top: 0;
right: 168px;
z-index: 1000;
padding: 0;
margin: 0;
list-style: none;
width: 400px;
position: absolute;
top: 0;
right: 168px;
z-index: 1000;
padding: 0;
margin: 0;
list-style: none;
width: 400px;
}
#messages li {
background-color: rgba(31, 29, 46, 0.8);
font-family: monospace;
color: #fff;
padding: 7px;
}
background-color: rgba(31, 29, 46, 0.8);
font-family: monospace;
color: #fff;
padding: 7px;
}

View File

@ -1 +1 @@
body,html{height:100%}body{background-color:#26233a;margin:0}pre{margin:0}.wrapper{display:flex;padding:1rem .5rem;font-size:1rem;height:calc(100% - 2rem)}.line-numbers{color:#908caa;font-family:monospace;text-align:end;user-select:none;font-size:15px}#code-view{padding-top:0;padding-bottom:0;font-size:15px}textarea{background-color:transparent;resize:none;width:100%;height:100%;padding:0;padding-left:1rem;margin:0;border:none;outline:0;color:#fff;font-size:15px}.button-wrapper{position:absolute;top:0;right:0;padding:1rem;background-color:#191724;z-index:1000}.buttons{display:flex}.buttons>*+*{margin-left:.25rem}.btn{cursor:pointer;background:0 0;color:#9ccfd8;font-size:1rem;border:none;transition:background-color .2s ease-in-out;display:inline-block;text-decoration:none}.btn:hover{color:#fff}.btn:disabled,.btn[disabled]{color:#6e6a86}.logo{font-size:1.8rem;font-weight:700;text-align:center;text-decoration:none;color:#8fbcc8;width:100%;font-family:monospace;display:inline-block}.logo:hover{color:#fff}#messages{position:absolute;top:0;right:168px;z-index:1000;padding:0;margin:0;list-style:none;width:400px}#messages li{background-color:rgba(31,29,46,.8);font-family:monospace;color:#fff;padding:7px}
body,html{height:100%}body{background-color:#191724;margin:0}pre{margin:0}.wrapper{display:flex;padding:1rem .5rem;font-size:1rem;height:calc(100% - 2rem)}.line-numbers{color:#908caa;font-family:monospace;text-align:end;user-select:none;font-size:15px}#code-view{padding-top:0;padding-bottom:0;font-size:15px}textarea{background-color:transparent;resize:none;width:100%;height:100%;padding:0;padding-left:1rem;margin:0;border:none;outline:0;color:#fff;font-size:15px}.button-wrapper{position:absolute;top:0;right:0;padding:1rem;background-color:#191724;z-index:1000}.buttons{display:flex}.buttons>*+*{margin-left:.25rem}.btn{cursor:pointer;background:0 0;color:#9ccfd8;font-size:1rem;border:none;transition:background-color .2s ease-in-out;display:inline-block;text-decoration:none}.btn:hover{color:#fff}.btn:disabled,.btn[disabled]{color:#6e6a86}.logo{font-size:1.8rem;font-weight:700;text-align:center;text-decoration:none;color:#8fbcc8;width:100%;font-family:monospace;display:inline-block}.logo:hover{color:#fff}#messages{position:absolute;top:0;right:168px;z-index:1000;padding:0;margin:0;list-style:none;width:400px}#messages li{background-color:rgba(31,29,46,.8);font-family:monospace;color:#fff;padding:7px}

View File

@ -1,60 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>zer0bin</title>
<link href="css/style.min.css" rel="stylesheet" />
<link href="css/rosepine.min.css" rel="stylesheet" />
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>zer0bin</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<script src="js/fontawesome.min.js"></script>
<script src="js/highlight.min.js"></script>
<script src="js/jquery.min.js"></script>
<link href="css/style.min.css" rel="stylesheet" />
<link href="css/rosepine.min.css" rel="stylesheet" />
<script>
hljs.highlightAll();
</script>
</head>
<script src="js/fontawesome.min.js"></script>
<script src="js/highlight.min.js"></script>
<script src="js/jquery.min.js"></script>
<body>
<ul id="messages"></ul>
<script>
hljs.highlightAll();
</script>
<div class="wrapper">
<div class="line-numbers"></div>
<meta name="title" content="zer0bin">
<meta name="description" content="🖊">
<!-- We only show this if they are viewing a paste-->
<pre
id="code-view-pre"
style="display: none"
><code id="code-view"></code></pre>
<meta property="og:type" content="website">
<meta property="og:title" content="zer0bin">
<meta property="og:description" content="🖊">
<meta property="og:image" content="https://stepbro.voring.me/frontend/zero.png">
<meta property="twitter:title" content="zer0bin">
<meta property="twitter:description" content="🖊">
<meta property="twitter:image" content="https://stepbro.voring.me/frontend/zero.png">
</head>
<!-- We only show the textarea if they are creating a new paste-->
<textarea
spellcheck="false"
autofocus
name="value"
id="text-area"
style="display: none"
></textarea>
</div>
<div class="button-wrapper">
<a href="/" class="logo">zer0bin</a>
<div class="buttons">
<button id="save-button" class="btn">
<i class="fas fa-save fa-xl"></i>
</button>
<button id="new-button" class="btn">
<i class="fas fa-file-medical fa-2xl"></i>
</button>
<a href="https://github.com/Domterion/zer0bin">
<button class="btn">
<i class="fab fa-github fa-2xl"></i>
</button>
</a>
</div>
</div>
<body>
<ul id="messages"></ul>
<script src="js/index.min.js"></script>
</body>
</html>
<div class="wrapper">
<div class="line-numbers"></div>
<!-- We only show this if they are viewing a paste-->
<pre id="code-view-pre" style="display: none"><code id="code-view"></code></pre>
<!-- We only show the textarea if they are creating a new paste-->
<textarea spellcheck="false" autofocus name="value" id="text-area" style="display: none"></textarea>
</div>
<div class="button-wrapper">
<a href="/" class="logo">zer0bin</a>
<div class="buttons">
<button id="save-button" class="btn">
<i class="fas fa-save fa-xl"></i>
</button>
<button id="new-button" class="btn">
<i class="fas fa-file-medical fa-2xl"></i>
</button>
<a href="https://github.com/Domterion/zer0bin">
<button class="btn">
<i class="fab fa-github fa-2xl"></i>
</button>
</a>
</div>
</div>
<script src="js/index.min.js"></script>
</body>
</html>