tracker/public/style.css

232 lines
3.8 KiB
CSS

@import url("https://matterlinux.xyz/global.css");
@import url("https://matterlinux.xyz/error.css");
main {
padding: 40px 10% 0% 10%;
}
.package-main {
padding: 40px 20% 0% 20%;
}
.package {
border-collapse: collapse;
width: 100%;
}
.package tr {
font-size: 15px;
}
.package th {
padding: 10px;
border: 1px solid var(--bright-third);
background: var(--dark-second);
color: var(--bright-main);
vertical-align: top;
text-align: left;
font-weight: 400;
font-size: 16px;
flex-grow: 4;
}
.package .files {
display: flex;
flex-direction: column;
gap: 3px;
}
.package th a {
color: var(--bright-second);
}
.package th a:hover {
color: var(--bright-main);
}
.package tr th:first-child {
font-weight: 900;
width: 20%;
}
.package tr th:last-child {
font-weight: 400;
font-style: italic;
}
.package-name th {
background: var(--dark-third);
border: 1px solid var(--bright-second);
}
.detail {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 18px;
}
.detail h3 {
font-size: 30px;
color: var(--bright-main);
}
.detail .links {
display: flex;
flex-direction: row;
}
.detail .links a {
border: solid 1px var(--bright-third);
background: var(--dark-second);
color: var(--bright-second);
font-size: 16px;
padding: 7px 10px;
}
.detail .links a:hover {
border: solid 1px var(--bright-second);
color: var(--bright-main);
}
.checkbox {
display: flex;
flex-direction: row;
align-items: center;
gap: 5px;
}
form {
display: flex;
flex-direction: row;
color: var(--bright-main);
background: var(--dark-second);
border: solid 1px var(--bright-second);
padding: 30px;
gap: 10px;
}
form .search {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
flex: 0 0 80%;
}
@media only screen and (max-width: 1500px) {
form .search {
flex: 0 0 70%;
}
}
@media only screen and (max-width: 1000px) {
form .search {
flex: 0 0 60%;
}
}
form .search input {
font-size: 15px;
color: white;
background: var(--dark-main);
padding: 10px;
outline: none;
border: solid 1px var(--bright-third);
}
form .search .status{
color: var(--bright-main);
display: flex;
flex-direction: row;
justify-content: space-between;
}
@media only screen and (max-width: 900px) {
form .search .status{
flex-direction: column;
align-items: left;
gap: 5px;
}
}
form .options {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
}
form .options select {
appearance: none;
flex-grow: 1;
font-size: 15px;
color: white;
background: var(--dark-main);
padding: 10px;
outline: none;
cursor: pointer;
display: grid;
border: none;
width: 100%;
border: solid 1px var(--bright-third);
margin: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: none;
background-image:
linear-gradient(45deg, transparent 50%, var(--bright-main) 50%),
linear-gradient(135deg, var(--bright-main) 50%, transparent 50%),
linear-gradient(to right, var(--dark-third), var(--dark-third));
background-position:
calc(100% - 20px) calc(1em + 2px),
calc(100% - 15px) calc(1em + 2px),
100% 0;
background-size:
5px 5px,
5px 5px,
2.5em 2.5em;
background-repeat: no-repeat;
}
.list {
margin-top: 20px;
border-collapse: collapse;
width: 100%;
}
.list tr {
font-size: 15px;
}
.list th, .list td {
padding: 10px;
border: 1px solid var(--bright-second);
background: var(--dark-second);
color: var(--bright-second);
text-align: left;
flex-grow: 4;
}
.list td a {
color: var(--bright-second);
}
.list td a:hover {
color: var(--bright-main);
}
.list th {
font-weight: 900;
color: var(--bright-main);
}
.list td {
font-style: italic;
}