Switch to OneDark theme

plus some CSS fixes
This commit is contained in:
nxshock 2021-09-22 11:20:46 +05:00 committed by GitHub
parent c4710c22f8
commit 5665d8d01e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
* { * {
font-family: Verdana; font-family: Verdana;
font-size: 16px; font-size: 16px;
color: #444; color: #abb2bf;
margin: .5em; margin: .5em;
padding: 0; padding: 0;
} }
@ -21,9 +21,9 @@
} }
body { body {
background-color: #fafafa; background-color: #282c34;
display: flex; display: flex;
justify-content: start; justify-content: space-between;
flex-wrap: nowrap; flex-wrap: nowrap;
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
@ -33,7 +33,7 @@
a { a {
text-decoration: none; text-decoration: none;
color: #07a; color: #61afef;
margin: 0; margin: 0;
} }
@ -43,9 +43,9 @@
height: 1em; height: 1em;
} }
header { header, footer {
background-color: #eee; flex-grow: 0;
border-bottom: 1px solid #ddd; background-color: #353b45;
padding: .5em; padding: .5em;
margin: 0; margin: 0;
display: flex; display: flex;
@ -53,11 +53,17 @@
align-items: center; align-items: center;
} }
main {
flex-grow: 1;
}
header {
border-bottom: 1px solid #3e4451;
}
footer { footer {
background-color: #eee; border-top: 1px solid #3e4451;
border-top: 1px solid #ddd; font-size: 75%;
padding: .5em;
margin: 0;
} }
h1 { h1 {
@ -72,11 +78,11 @@
} }
tr:hover { tr:hover {
background-color: #dde; background-color: #353b45;
} }
th, td { th, td {
border: 1px solid #777; border: 1px solid #3e4451;
padding: 0.5em; padding: 0.5em;
} }
@ -86,7 +92,7 @@
} }
th { th {
background-color: #eee; background-color: #353b45;
} }
form { form {
@ -113,21 +119,25 @@
} }
label { label {
border-radius: 0.25em;
background-color: #61afef;
margin: 0; margin: 0;
padding: .5em; padding: .5em;
border: 1px solid #ccc;
cursor: pointer; cursor: pointer;
color: #ffffff;
text-shadow: 1px 1px 1px #000;
} }
svg { svg {
margin: 0; margin: 0;
vertical-align: middle;
} }
</style> </style>
</head> </head>
<body> <body>
<header> <header>
<span><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15" fill="black" stroke="white"><circle cx="7.5" cy="7.5" r="5" fill="none" stroke="black"/><circle cx="3" cy="10" r="2"/><circle cx="12" cy="10" r="2"/><circle cx="7.5" cy="2.5" r="2"/></svg> File Storage</span> <span><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15" fill="#61afef" stroke="#353b45"><circle cx="7.5" cy="7.5" r="5" fill="none" stroke="#61afef"/><circle cx="3" cy="10" r="2"/><circle cx="12" cy="10" r="2"/><circle cx="7.5" cy="2.5" r="2"/></svg> File Storage</span>
<label> <label>
<input id="file-uploader" type="file" id="upload-button"> <input id="file-uploader" type="file" id="upload-button">
Загрузить файл Загрузить файл
@ -139,7 +149,7 @@
<col width="0"> <col width="0">
<col width="0"> <col width="0">
<tr> <tr>
<th>Имя</th> <th>Имя файла</th>
<th>Размер</th> <th>Размер</th>
<th>Дата</th> <th>Дата</th>
</tr> </tr>