1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-27 16:08:37 -06:00
chhoto-url/resources/static/styles.css

131 lines
2 KiB
CSS
Raw Normal View History

2024-04-03 20:40:26 -05:00
/* SPDX-FileCopyrightText: 2023 Sayantan Santra <sayantan.santra689@gmail.com> */
/* SPDX-License-Identifier: MIT */
2024-03-18 01:59:31 -05:00
@font-face {
2024-03-18 01:22:17 -05:00
font-family: Montserrat;
2024-10-25 14:47:15 -05:00
src: url('/assets/Montserrat-VF.woff2');
2024-03-18 19:27:58 -05:00
}
2024-03-18 01:22:17 -05:00
* {
font-family: Montserrat;
}
2023-04-09 16:38:14 -05:00
.container {
2024-03-18 02:07:46 -05:00
max-width: 1200px;
2023-04-09 16:38:14 -05:00
margin: 20px auto auto;
}
table tr td div {
max-height: 75px;
line-height: 25px;
word-wrap: break-word;
max-width: 575px;
overflow: auto;
}
.pure-table td {
border-left: none;
}
td[name="hitsColumn"] {
text-align: right;
}
2024-03-18 19:27:58 -05:00
td[name="deleteBtn"] div {
2024-03-18 16:02:45 -05:00
display: flex;
align-items: center;
justify-content: center;
2023-04-09 16:38:14 -05:00
}
2024-03-18 19:27:58 -05:00
td[name="deleteBtn"] {
text-align: center;
}
td[name="deleteBtn"] div button {
border-radius: 100%;
2024-03-18 16:02:45 -05:00
aspect-ratio: 1;
2023-04-09 16:38:14 -05:00
border-style: solid;
cursor: pointer;
2024-03-18 16:02:45 -05:00
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
2023-04-09 16:38:14 -05:00
background-color: transparent;
}
input {
width: 65%;
}
form input[name="shortUrl"]::placeholder {
text-transform: none;
}
div[name="links-div"] {
2023-04-09 16:38:14 -05:00
position: absolute;
right: 0.5%;
2023-04-14 17:18:18 -05:00
top: 0.5%;
2023-04-10 15:20:20 -05:00
}
.pure-table {
2024-03-18 01:59:31 -05:00
width: 98%;
2023-04-10 15:20:20 -05:00
}
.pure-table caption {
font-size: 22px;
text-align: left;
font-style: normal;
}
#logo {
font-size: 32px;
2023-04-14 17:18:18 -05:00
}
#password {
width: 100%;
margin-bottom: 10px;
}
dialog form {
text-align: center;
}
/* Settings for mobile devices */
@media (pointer:none),
(pointer:coarse) {
2024-03-18 15:23:12 -05:00
.container {
max-width: 100vw;
}
2024-03-18 01:59:31 -05:00
.pure-control-group input {
width: 98%;
}
2024-03-18 19:27:58 -05:00
2023-04-14 17:18:18 -05:00
table tr {
border-bottom: 1px solid #999;
}
table thead {
display: none;
}
table td {
display: flex;
2024-03-18 16:02:45 -05:00
justify-content: left !important;
width: 98vw;
2024-03-18 19:27:58 -05:00
padding: .5em .1em !important;
2023-04-14 17:18:18 -05:00
}
table td::before {
content: attr(label);
font-weight: bold;
width: 120px;
min-width: 120px;
text-align: left;
}
.pure-table caption {
padding-top: 0px;
}
2024-03-19 15:44:59 -05:00
}