mirror of https://github.com/voidlizard/hbs2
298 lines
4.1 KiB
CSS
298 lines
4.1 KiB
CSS
input, button {
|
|
font-size: var(--form-element-font-size);
|
|
height: 2.5rem;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 0.25rem;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
input[type="search"] {
|
|
font-size: var(--form-element-font-size);
|
|
height: 2.5rem;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 0.25rem;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
button.search {
|
|
background: url('/icon/refresh.svg') no-repeat center center;
|
|
background-size: 24px 24px;
|
|
min-width: 32px;
|
|
height: 2.5rem;
|
|
}
|
|
|
|
button.search svg {
|
|
}
|
|
|
|
body, html {
|
|
margin: 0;
|
|
height: 100%;
|
|
font-size: 18px;
|
|
}
|
|
|
|
|
|
header {
|
|
width: 100%;
|
|
|
|
font-size: 20px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
padding: 8px;
|
|
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 100;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
/* height: 64px; */
|
|
|
|
header h1 {
|
|
font-size: 20px;
|
|
margin: 0 0 0 2.21rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.header-title {
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
}
|
|
|
|
.header-links {
|
|
display: flex;
|
|
margin-left: 10em;
|
|
gap: 2rem;
|
|
background: white;
|
|
}
|
|
|
|
header a {
|
|
/* display: inline; */
|
|
height: 1rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.header-actions {
|
|
margin-left: auto;
|
|
}
|
|
|
|
nav.left {
|
|
flex: 0 0 20rem;
|
|
padding: 4rem 0rem 0 1rem;
|
|
font-size: 20px;
|
|
flex-direction: column;
|
|
justify-content: normal;
|
|
background: #FAFAFA;
|
|
}
|
|
|
|
nav.left .info-block {
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
section#repo-data {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
section#repo-data> h1::after,
|
|
section#repo-data> h2::after,
|
|
section#repo-data> h3::after,
|
|
section#repo-data> h4::after
|
|
{
|
|
content: "";
|
|
display: block;
|
|
margin: 8px 0;
|
|
height: 1px;
|
|
background-color: #ccc;
|
|
}
|
|
|
|
/* height: calc(100vh - 64px); */
|
|
|
|
section {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
|
|
main {
|
|
flex-grow: 1;
|
|
padding: 2rem 0 0 4rem;
|
|
}
|
|
|
|
|
|
.main {
|
|
display: flex;
|
|
padding: 4px 0 0 0;
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
main h1 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
main h2 {
|
|
font-size: 1.45rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
div .repo-list-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
|
|
|
|
background: #FAFAFA;
|
|
padding: 0.75rem;
|
|
margin-top: 1.75rem;
|
|
border-radius: 0.25rem;
|
|
border: 1px solid #BFC7D9;
|
|
}
|
|
|
|
.channel-list-item {
|
|
display: block;
|
|
|
|
background: #FAFAFA;
|
|
padding: 1.45rem;
|
|
margin-top: 2rem;
|
|
border-radius: 0.25rem;
|
|
border: 1px solid #BFC7D9;
|
|
|
|
}
|
|
|
|
.repo-info, .repo-info-misc {
|
|
flex: 1;
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.repo-info h2 a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.repo-info h2 {
|
|
font-size: 1.35rem;
|
|
}
|
|
|
|
.repo-info h2 a:hover {
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
|
|
.repo-info-misc {
|
|
text-align: right;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
|
|
.attr {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 2rem;
|
|
margin-bottom: 0.5em;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
.attrname, {
|
|
flex: 1;
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
.attrval {
|
|
flex-basis: 70%;
|
|
text-align: right;
|
|
}
|
|
|
|
.icon {
|
|
flex-basis: 90%;
|
|
text-align: right;
|
|
}
|
|
|
|
|
|
form.search {
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: flex-start;
|
|
gap: 0.5em;
|
|
}
|
|
|
|
form.search input[type="search"] {
|
|
align: center;
|
|
flex-grow: 1;
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
form.search button {
|
|
align: center;
|
|
min-width: 4rem;
|
|
}
|
|
|
|
.xclip::after {
|
|
display: inline-block;
|
|
content: url('/icon/xclip.svg');
|
|
vertical-align: middle;
|
|
width: 24px;
|
|
height: 24px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s;
|
|
left: 16px;
|
|
position: relative;
|
|
}
|
|
|
|
.xclip:hover::after {
|
|
left: 16px;
|
|
position: relative;
|
|
content: url('/icon/xclip.svg');
|
|
vertical-align: middle;
|
|
height: 24x;
|
|
width: 24x;
|
|
opacity: 1;
|
|
}
|
|
|
|
.xclip {
|
|
/*position: relative;*/
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
.xclip:hover {
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
.clicked:hover::after {
|
|
content: url('/icon/xclipdone.svg');
|
|
vertical-align: middle;
|
|
right: 16px;
|
|
height: 24x;
|
|
width: 24x;
|
|
opacity: 1;
|
|
}
|
|
|
|
nav[role="tab-control"] {
|
|
min-height: 24px;
|
|
font-size: 18px;
|
|
/* border: 1px solid black; */
|
|
display: block;
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
nav[role="tab-control"] li {
|
|
display: block;
|
|
padding: 0 0 0 0;
|
|
padding-right: 2rem;
|
|
margin-right: 2rem;
|
|
border-right: 2px solid gray;
|
|
font-weight: bolder;
|
|
}
|
|
|
|
nav[role="tab-control"] li a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav[role="tab-control"] li.active {
|
|
display: block;
|
|
color: #0089D1;
|
|
}
|
|
|