change colors to root variables
This commit is contained in:
parent
d0f9928936
commit
f93487b7fa
@ -1,9 +1,21 @@
|
|||||||
|
:root {
|
||||||
|
--green: #C2F9BB;
|
||||||
|
--fg-color: #303034;
|
||||||
|
--bg-color: #1B1B1E;
|
||||||
|
--text-color: #ECEAF1;
|
||||||
|
--blue-ish: #587291;
|
||||||
|
}
|
||||||
|
|
||||||
|
.noselect {
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: #303034;
|
background-color: var(--fg-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
@ -26,7 +38,7 @@ a {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
a:link, a:visited {
|
a:link, a:visited {
|
||||||
color: #C2F9BB;
|
color: var(--green);
|
||||||
}
|
}
|
||||||
a:hover {
|
a:hover {
|
||||||
color: red;
|
color: red;
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
color: white;
|
color: var(--text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.self {
|
.self {
|
||||||
color: white;
|
color: var(--text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
#username-self {
|
#username-self {
|
||||||
@ -23,11 +23,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.greentext {
|
.greentext {
|
||||||
color: #BFE7D4;
|
color: var(--green);
|
||||||
}
|
}
|
||||||
|
|
||||||
#posts > div {
|
#posts > div {
|
||||||
background-color: #303034;
|
background-color: var(--fg-color);
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
}
|
}
|
||||||
@ -51,15 +51,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #1B1B1E;
|
background-color: var(--bg-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
background-color: #1B1B1E;
|
background-color: var(--bg-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background-color: #587291;
|
background-color: var(--blue-ish);
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
@ -67,7 +67,7 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.post,.self,.status {
|
.post,.self,.status {
|
||||||
color: #ECEAF1;
|
color: var(--text-color);
|
||||||
width: 50%;
|
width: 50%;
|
||||||
margin-left: 25%;
|
margin-left: 25%;
|
||||||
margin-right: 25%;
|
margin-right: 25%;
|
||||||
@ -78,7 +78,7 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#post-text, button {
|
#post-text, button {
|
||||||
color: #ECEAF1;
|
color: var(--text-color);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
resize: none;
|
resize: none;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
const navbar = `<ul class="navbar">
|
const navbar = `<ul class="navbar noselect">
|
||||||
<li><a href="/">Home</a></li>
|
<li><a href="/">Home</a></li>
|
||||||
<li><a href="/user" id="hide_user">Profile</a></li>
|
<li><a href="/user" id="hide_user">Profile</a></li>
|
||||||
<li><a href="/posts" id="hide_posts">Posts</a></li>
|
<li><a href="/posts" id="hide_posts">Posts</a></li>
|
||||||
|
@ -948,7 +948,7 @@ also sets the AUTH_COOKIE cookie to the new one
|
|||||||
<div class="tab-pane active" id="examples-Everyone-changePW-0-curl">
|
<div class="tab-pane active" id="examples-Everyone-changePW-0-curl">
|
||||||
<pre class="prettyprint"><code class="language-bsh">curl -X POST\
|
<pre class="prettyprint"><code class="language-bsh">curl -X POST\
|
||||||
-H "Content-Type: application/json"\
|
-H "Content-Type: application/json"\
|
||||||
"https://ws.zerotwohub.tk:25566//api/changePW"</code></pre>
|
"https://ws.zerotwohub.tk:25566/api/changePW"</code></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="examples-Everyone-changePW-0-java">
|
<div class="tab-pane" id="examples-Everyone-changePW-0-java">
|
||||||
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
||||||
@ -1221,7 +1221,7 @@ username and post text are URI Encoded
|
|||||||
<div class="tab-pane active" id="examples-Everyone-getPosts-0-curl">
|
<div class="tab-pane active" id="examples-Everyone-getPosts-0-curl">
|
||||||
<pre class="prettyprint"><code class="language-bsh">curl -X GET\
|
<pre class="prettyprint"><code class="language-bsh">curl -X GET\
|
||||||
-H "Accept: application/json"\
|
-H "Accept: application/json"\
|
||||||
"https://ws.zerotwohub.tk:25566//api/getPosts"</code></pre>
|
"https://ws.zerotwohub.tk:25566/api/getPosts"</code></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="examples-Everyone-getPosts-0-java">
|
<div class="tab-pane" id="examples-Everyone-getPosts-0-java">
|
||||||
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
||||||
@ -1493,7 +1493,7 @@ except ApiException as e:
|
|||||||
<div class="tab-pane active" id="examples-Everyone-getotheruser-0-curl">
|
<div class="tab-pane active" id="examples-Everyone-getotheruser-0-curl">
|
||||||
<pre class="prettyprint"><code class="language-bsh">curl -X GET\
|
<pre class="prettyprint"><code class="language-bsh">curl -X GET\
|
||||||
-H "Accept: application/json"\
|
-H "Accept: application/json"\
|
||||||
"https://ws.zerotwohub.tk:25566//api/getotheruser?user="</code></pre>
|
"https://ws.zerotwohub.tk:25566/api/getotheruser?user="</code></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="examples-Everyone-getotheruser-0-java">
|
<div class="tab-pane" id="examples-Everyone-getotheruser-0-java">
|
||||||
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
||||||
@ -1799,7 +1799,7 @@ except ApiException as e:
|
|||||||
<div class="tab-pane active" id="examples-Everyone-getuser-0-curl">
|
<div class="tab-pane active" id="examples-Everyone-getuser-0-curl">
|
||||||
<pre class="prettyprint"><code class="language-bsh">curl -X GET\
|
<pre class="prettyprint"><code class="language-bsh">curl -X GET\
|
||||||
-H "Accept: application/json"\
|
-H "Accept: application/json"\
|
||||||
"https://ws.zerotwohub.tk:25566//api/getuser"</code></pre>
|
"https://ws.zerotwohub.tk:25566/api/getuser"</code></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="examples-Everyone-getuser-0-java">
|
<div class="tab-pane" id="examples-Everyone-getuser-0-java">
|
||||||
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
||||||
@ -2065,7 +2065,7 @@ except ApiException as e:
|
|||||||
<div class="tab-pane active" id="examples-Everyone-login-0-curl">
|
<div class="tab-pane active" id="examples-Everyone-login-0-curl">
|
||||||
<pre class="prettyprint"><code class="language-bsh">curl -X POST\
|
<pre class="prettyprint"><code class="language-bsh">curl -X POST\
|
||||||
-H "Content-Type: application/json"\
|
-H "Content-Type: application/json"\
|
||||||
"https://ws.zerotwohub.tk:25566//login"</code></pre>
|
"https://ws.zerotwohub.tk:25566/login"</code></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="examples-Everyone-login-0-java">
|
<div class="tab-pane" id="examples-Everyone-login-0-java">
|
||||||
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
||||||
@ -2336,7 +2336,7 @@ has to be logged in either by cookie or given user and password
|
|||||||
<div class="tab-pane active" id="examples-Everyone-post-0-curl">
|
<div class="tab-pane active" id="examples-Everyone-post-0-curl">
|
||||||
<pre class="prettyprint"><code class="language-bsh">curl -X POST\
|
<pre class="prettyprint"><code class="language-bsh">curl -X POST\
|
||||||
-H "Content-Type: application/json"\
|
-H "Content-Type: application/json"\
|
||||||
"https://ws.zerotwohub.tk:25566//api/post"</code></pre>
|
"https://ws.zerotwohub.tk:25566/api/post"</code></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="examples-Everyone-post-0-java">
|
<div class="tab-pane" id="examples-Everyone-post-0-java">
|
||||||
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
||||||
@ -2606,7 +2606,7 @@ except ApiException as e:
|
|||||||
<div class="tab-pane active" id="examples-Everyone-register-0-curl">
|
<div class="tab-pane active" id="examples-Everyone-register-0-curl">
|
||||||
<pre class="prettyprint"><code class="language-bsh">curl -X POST\
|
<pre class="prettyprint"><code class="language-bsh">curl -X POST\
|
||||||
-H "Content-Type: application/json"\
|
-H "Content-Type: application/json"\
|
||||||
"https://ws.zerotwohub.tk:25566//register"</code></pre>
|
"https://ws.zerotwohub.tk:25566/register"</code></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="examples-Everyone-register-0-java">
|
<div class="tab-pane" id="examples-Everyone-register-0-java">
|
||||||
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
||||||
@ -2876,7 +2876,7 @@ except ApiException as e:
|
|||||||
<div class="tab-pane active" id="examples-Everyone-search-0-curl">
|
<div class="tab-pane active" id="examples-Everyone-search-0-curl">
|
||||||
<pre class="prettyprint"><code class="language-bsh">curl -X GET\
|
<pre class="prettyprint"><code class="language-bsh">curl -X GET\
|
||||||
-H "Accept: application/json"\
|
-H "Accept: application/json"\
|
||||||
"https://ws.zerotwohub.tk:25566//api/search?type=&selector="</code></pre>
|
"https://ws.zerotwohub.tk:25566/api/search?type=&selector="</code></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="examples-Everyone-search-0-java">
|
<div class="tab-pane" id="examples-Everyone-search-0-java">
|
||||||
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
||||||
@ -3215,7 +3215,7 @@ except ApiException as e:
|
|||||||
<div class="tab-pane active" id="examples-Everyone-setBio-0-curl">
|
<div class="tab-pane active" id="examples-Everyone-setBio-0-curl">
|
||||||
<pre class="prettyprint"><code class="language-bsh">curl -X POST\
|
<pre class="prettyprint"><code class="language-bsh">curl -X POST\
|
||||||
-H "Content-Type: application/json"\
|
-H "Content-Type: application/json"\
|
||||||
"https://ws.zerotwohub.tk:25566//api/setBio"</code></pre>
|
"https://ws.zerotwohub.tk:25566/api/setBio"</code></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="examples-Everyone-setBio-0-java">
|
<div class="tab-pane" id="examples-Everyone-setBio-0-java">
|
||||||
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
<pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h1>IPost</h1>
|
<h1 class="noselect">IPost</h1>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<form id="login_form" class="form_class" action="login" method="post">
|
<form id="login_form" class="form_class" action="login" method="post">
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Posts</title>
|
<title>Posts</title>
|
||||||
<link rel="stylesheet" href="/css/posts.css">
|
|
||||||
<link rel="stylesheet" href="/css/global.css">
|
<link rel="stylesheet" href="/css/global.css">
|
||||||
|
<link rel="stylesheet" href="/css/posts.css">
|
||||||
<script type="text/javascript" src="/js/httppost.js"></script>
|
<script type="text/javascript" src="/js/httppost.js"></script>
|
||||||
<script type="text/javascript" src="/js/htmlescape.js"></script>
|
<script type="text/javascript" src="/js/htmlescape.js"></script>
|
||||||
<script type="text/javascript" src="/js/addnavbar.js"></script>
|
<script type="text/javascript" src="/js/addnavbar.js"></script>
|
||||||
|
@ -41,5 +41,6 @@
|
|||||||
<a href="/PrivacyPolicy">Our PrivacyPolicy</a> <br>
|
<a href="/PrivacyPolicy">Our PrivacyPolicy</a> <br>
|
||||||
<a href="/ToS">Our Terms of Service</a> <br>
|
<a href="/ToS">Our Terms of Service</a> <br>
|
||||||
</footer>
|
</footer>
|
||||||
|
<style media="screen" id="userstyle"></style>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user