mirror-chhoto-url/resources/static/styles.css

136 lines
2.1 KiB
CSS
Raw Normal View History

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