notehub/html/style.css
Jan BELLON b18f8b32a1 Update 26 files
- /bdd/notehub.sql
- /doc/cahierdescharges.pdf
- /html/notes.php
- /html/profil.php
- /html/register.php
- /html/style.css
- /html/addcas.php
- /html/admin.php
- /html/colormode.php
- /html/data_usage.php
- /html/devoirs.php
- /html/favicon.ico
- /html/index.php
- /html/login.php
- /html/logout.php
- /html/main.js
- /html/img/notehub1.png
- /html/img/notehub2.png
- /html/img/default_pp.jpg
- /html/img/logo.png
- /html/img/notehub.png
- /html/img/notehub0.png
- /include/connect.php
- /include/functions.php
- /include/config.php
- /log/notehub.log
2025-03-01 23:57:27 +01:00

212 lines
3.7 KiB
CSS

:root{
--nav-bg: #0D1117;
--table-bg: #0D1117;
--background: #161B22;
--link-hover-bg: #171D24;
--text-color: #ECF6FF;
--link-color: #E1EAF3;
--title-color: #BEC6CD;
--table-border: #BEC6CD;
--graphtheme: 'dark';
}
body {
background-color: var(--background);
color: var(--text-color);
font-family: "Open Sans", sans-serif;
font-size: 1.2em;
text-align: center;
margin: 0;
}
h1 {
margin-top: 160px;
margin-bottom: 100px;
font-size: 4em;
}
table {
border: 0;
margin: 50px auto 50px auto;
padding: 20px;
border-radius: 10px;
background-color: var(--table-bg);
}
.post {
border-radius: 10px;
width: 50%;
margin: 50px auto 50px auto;
padding: 10px;
background-color: var(--table-bg);
}
.post-userinfo {
text-align: left;
padding: 10px;
}
.post-age {
opacity: 0.8;
font-size: 0.7em;
}
.post-content {
text-align: left;
padding: 10px;
opacity: 0.9;
line-height: 30px;
}
.verified-icon {
max-width: 20px;
max-height: 20px;
margin-left: 2px;
color: rgb(0, 151, 29);
user-select: none;
vertical-align: text-bottom;
position: relative;
height: 1.25em;
fill: currentcolor;
display: inline-block;
}
table th, table td {
padding: 10px;
text-align: left;
border-bottom: 1px solid var(--table-border);
width: 400px;
}
input[type="text"],
input[type="password"] {
background-color: var(--table-bg);
color: var(--text-color);
border: 0;
border-radius: 5px;
font-size: 30px;
outline: none;
padding: 10px;
margin: 20px;
}
input[type="submit"] {
background-color: var(--table-bg);
color: var(--text-colo2);
border: 0;
border-radius: 5px;
font-size: 20px;
cursor: pointer;
outline: none;
padding: 10px;
margin: 20px;
}
input[type="submit"]:hover {
border-bottom: 1px solid var(--table-border);
}
form {
margin: 0 auto;
width: 500px;
display: grid;
align-items: center;
}
.form_link {
background-color: var(--table-bg);
color: var(--text-colo2);
border: 0;
padding: 10px;
margin: 20px;
border-radius: 5px;
font-size: 20px;
cursor: pointer;
outline: none;
text-decoration: none;
}
.form_link:hover {
border-bottom: 1px solid var(--table-border);
}
nav {
position: fixed;
top: 0;
right: 0;
left: 0;
margin: 0;
padding: 14px;
z-index: 1000;
background-color: var(--nav-bg);
}
#notehub-icon {
height: 30px;
position: absolute;
left: 20px;
}
a {
color: var(--link-color);
}
p {
margin: 30px;
background-color: var(--table-bg);
border-radius: 10px;
padding: 20px;
}
footer {
margin: 0;
margin-top: 500px;
background-color: var(--nav-bg);
text-align: left;
padding: 30px;
}
footer hr {
margin: 70px 10px 30px 10px;
}
.navlink {
text-decoration: none;
font-size: 1.2em;
color: var(--fg3);
padding: 10px 14px 10px 14px;
border-radius: 4px;
margin: 5px;
}
.navlink:hover {
border-bottom: 1px solid var(--table-border);
background-color: var(--link-hover-bg);
}
@media only screen and (max-device-width : 600px) {
nav {
padding: 20px 0 20px 0;
}
.navlink {
font-size: 1.5em;
padding: 20px 15px 20px 15px;
}
form {
width: 100%;
margin: 0;
}
input[type="text"],
input[type="password"] {
font-size: 2em;
width: 80%;
margin: 40px;
}
input[type="submit"] {
font-size: 2em;
width: 250px;
margin-left: 542px;
margin-top: 40px;
}
footer {
font-size: 0.5em;
margin-top: 800px;
}
.post {
width: 70%;
}
}