seria/public/assets/seria.css

754 lines
14 KiB
CSS
Raw Normal View History

2022-07-03 23:44:11 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
outline-style: none;
}
html,
body,
.wrapper {
width: 100%;
height: 100%;
}
.wrapper {
font: 12px/20px Verdana, Geneva, 'Dejavu Sans', Arial, Helvetica, sans-serif;
background: #111;
color: #fff;
padding: 0 5px;
display: flex;
flex-direction: column;
}
.wrapper-body {
width: 100%;
max-width: 1200px;
margin: 0 auto;
flex: 1 0 auto;
}
.avatar {
flex-shrink: 0;
background-color: #111;
display: block;
border: 0;
border-radius: 5%;
box-sizing: content-box;
vertical-align: middle;
max-width: 100%;
max-height: 100%;
overflow: hidden;
}
.avatar a {
display: block;
width: 100%;
height: 100%;
}
.avatar img {
vertical-align: top;
}
.header {
background: url('//flashii.net/images/clouds.png') fixed #8559a5;
background-blend-mode: multiply;
overflow: hidden;
margin: 5px auto;
width: 100%;
max-width: 1200px;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
flex: 0 0 auto;
}
.header-logo {
font-size: 2.5em;
line-height: 1.1em;
padding: 15px 20px;
}
.header-logo a {
color: #fff;
text-decoration: none;
}
.header-menu {
display: flex;
}
.header-menu a {
display: block;
color: #fff;
text-decoration: none;
flex: 0 0 auto;
padding: 2px 10px;
margin: 5px 0;
margin-left: 5px;
border-radius: 2px;
text-align: center;
transition: background .2s;
}
.header-menu a:hover,
.header-menu a:focus {
background: rgba(255, 255, 255, .2);
}
.header-menu a:active {
background: rgba(255, 255, 255, .1);
}
.header-stats {
/*border: 1px solid #000;
background: linear-gradient(180deg, #545454 0%, #1a1a1a 50%, #000 50%) #545454;*/
background-color: rgba(64, 64, 64, .5);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
border-radius: 5px;
margin: 5px;
margin-bottom: 0;
user-select: none;
overflow: hidden;
}
.header-stats a {
color: #fff;
text-decoration: none;
padding: 2px 10px;
display: inline-block;
transition: background-color .1s;
}
.header-stats a:hover,
.header-stats a:focus {
background-color: rgba(255, 255, 255, .1);
}
.header-stats a:active {
background-color: rgba(0, 0, 0, .5);
}
.footer {
background: #161616;
overflow: hidden;
margin: 5px auto;
width: 100%;
max-width: 1200px;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
padding: 5px;
flex: 0 0 auto;
}
.footer .copyright {
text-align: center;
font-size: .9em;
line-height: 1.4em;
}
.footer .disclaimer {
font-size: .8em;
line-height: 1.3em;
padding-top: 3px;
}
.footer a {
color: inherit;
text-decoration: none;
}
.footer a:hover,
.footer a:focus {
text-decoration: underline;
}
.info {
/**/
}
.info-header {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
padding: 5px;
}
.info-header h2 {
margin: 5px;
}
.info-header ul {
list-style: none;
display: flex;
}
.info-header a {
color: #fff;
text-decoration: none;
text-transform: lowercase;
font-variant: small-caps;
display: inline-block;
padding: 2px 5px;
}
.info-header a:hover,
.info-header a:focus {
text-decoration: underline;
}
.info-header img {
vertical-align: middle;
}
.info-stats {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
padding: 0 5px;
display: flex;
align-items: center;
margin-top: 2px;
flex-wrap: wrap;
}
.info-stats-item {
display: flex;
flex-direction: column;
flex: 0 0 auto;
margin-right: 10px;
border-bottom: 2px solid #fff;
}
.info-stats-item-title {
font-variant: small-caps;
padding: 5px;
padding-bottom: 0;
}
.info-stats-item-value {
font-size: 1.2em;
line-height: 1.4em;
padding: 5px;
padding-top: 0;
}
.info-stats-submitted {
border-color: #09f;
}
.info-stats-approved {
border-color: #0a0;
}
.info-stats-uploading {
border-color: green;
}
.info-stats-downloading {
border-color: red;
}
.info-stats-visibility {
border-color: orange;
}
.info-user {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
padding: 0 5px;
display: flex;
align-items: center;
margin-top: 2px;
}
.info-user-uploaded {
margin-right: 4px;
}
.info-user-avatar {
margin-right: 4px;
}
.info-user-name {}
.info-user-name a {
color: #fff;
text-decoration: none;
border-bottom: 2px solid var(--user-colour, #fff);
border-top: 2px solid transparent;
font-weight: 700;
display: inline-block;
}
.info-pending {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
display: flex;
margin-top: 2px;
height: 50px;
}
.info-pending-text {
flex: 1 1 auto;
padding: 0 20px;
font-size: 1.2em;
line-height: 48px;
}
.info-pending-approve {
flex: 0 0 auto;
display: block;
color: #fff;
text-decoration: none;
background: #2a2;
width: 100px;
text-align: center;
line-height: 49px;
transition: background .2s;
}
.info-pending-approve:hover,
.info-pending-approve:focus {
background: #2c2;
}
.info-pending-approve:active {
background: #282;
}
.info-pending-deny {
flex: 0 0 auto;
display: block;
color: #fff;
text-decoration: none;
background: #a22;
width: 100px;
text-align: center;
line-height: 49px;
transition: background .2s;
}
.info-pending-deny:hover,
.info-pending-deny:focus {
background: #c22;
}
.info-pending-deny:active {
background: #822;
}
.info-comment {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
align-items: center;
padding: 2px;
margin-top: 2px;
}
.info-comment-header {
font-size: 1.4em;
padding: 5px 10px;
}
.info-comment-content {
padding: 5px 10px;
overflow: auto;
}
.info-comment-content pre {
line-height: 14px;
}
.profile {}
.profile-header {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
display: flex;
align-items: center;
padding: 2px;
}
.profile-header-info {
display: flex;
flex-direction: column;
padding: 0 10px;
}
.profile-header-info-name {
font-weight: 700;
font-size: 2em;
line-height: 1.5em;
}
.profile-header-info-name span {
border-bottom: 2px solid var(--user-colour, #fff);
}
.profile-header-info-flashii {
font-variant: small-caps;
}
.profile-header-info-flashii a {
color: #fff;
text-decoration: none;
}
.profile-header-info-flashii a:hover,
.profile-header-info-flashii a:focus {
text-decoration: underline;
}
.profile-transfer {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
display: flex;
align-items: center;
padding: 2px;
margin-top: 2px;
font-size: 1.4em;
}
.profile-transfer a {
display: inline-block;
color: #fff;
text-decoration: none;
padding: 5px 10px;
}
.profile-submissions {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
align-items: center;
padding: 2px;
margin-top: 2px;
}
.profile-submissions-header {
font-size: 1.4em;
padding: 5px 10px;
}
.profile-submissions-full {
width: 100%;
}
.profile-submissions-full a {
display: block;
width: 100%;
padding: 5px 10px;
text-align: center;
color: #fff;
text-decoration: none;
transition: background .2s;
}
.profile-submissions-full a:hover,
.profile-submissions-full a:focus {
background: rgba(255, 255, 255, .2);
}
.profile-submissions-full a:active {
background: rgba(255, 255, 255, .1);
}
.profile-submission {
margin: 0 2px;
margin-bottom: 2px;
}
.profile-history {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
align-items: center;
padding: 2px;
margin-top: 2px;
}
.profile-history-header {
font-size: 1.4em;
padding: 5px 10px;
}
.profile-history-full {
width: 100%;
}
.profile-history-full a {
display: block;
width: 100%;
padding: 5px 10px;
text-align: center;
color: #fff;
text-decoration: none;
transition: background .2s;
}
.profile-history-full a:hover,
.profile-history-full a:focus {
background: rgba(255, 255, 255, .2);
}
.profile-history-full a:active {
background: rgba(255, 255, 255, .1);
}
.tdl {
display: flex;
border-radius: 2px;
background-color: rgba(17, 17, 17, .6);
transition: background-color .2s, box-shadow .2s;
}
.tdl:nth-child(even) {
background-color: rgba(25, 25, 25, .6);
}
.tdl:hover,
.tdl:focus {
background-color: rgba(34, 34, 34, .6);
box-shadow: 0 1px 4px #222;
}
.tdl-details {
flex: 1 1 auto;
display: flex;
flex-direction: column;
justify-content: center;
padding: 2px 4px;
margin: 0 2px;
}
.tdl-details-name {
font-size: 1.4em;
line-height: 1.5em;
}
.tdl-details-name a {
color: #fff;
text-decoration: none;
padding: 2px;
display: inline-block;
}
.tdl-details-name a:hover,
.tdl-details-name a:active,
.tdl-details-name a:focus {
text-decoration: underline;
}
.tdl-user {
display: flex;
align-items: center;
margin: 0 2px;
}
.tdl-user-avatar {
flex: 0 0 auto;
margin-right: 4px;
}
.tdl-user-name {}
.tdl-user-name a {
color: #fff;
text-decoration: none;
border-bottom: 2px solid var(--user-colour, #fff);
border-top: 2px solid transparent;
font-weight: 700;
display: inline-block;
}
.tdl-stats {
flex: 0 0 auto;
display: flex;
font-size: 1.5em;
align-items: center;
}
.tdl-stats > div {
display: flex;
padding-left: 8px;
padding-bottom: 1px;
}
.tdl-stats .arrow {
margin-right: 2px;
}
.tdl-stats .arrow,
.tdl-stats .number {
flex: 0 0 auto;
}
.tdl-stats-uploading .arrow {
color: green;
}
.tdl-stats-downloading .arrow {
color: red;
}
.tdl-actions {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 1px;
margin-left: 10px;
max-width: 200px;
width: 100%;
}
.tdl-actions img {
vertical-align: top;
}
.tdl-actions a {
display: flex;
justify-content: center;
align-items: center;
margin: 1px;
padding: 8px;
border-radius: 2px;
color: #fff;
text-decoration: none;
background: rgba(255, 255, 255, .1);
transition: background .2s;
}
.tdl-actions a:hover,
.tdl-actions a:focus {
background: rgba(255, 255, 255, .3);
}
.tdl-actions a:active {
background: rgba(255, 255, 255, .2);
}
.downloads {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
align-items: center;
padding: 2px;
}
.downloads-header {
font-size: 1.4em;
padding: 5px 10px;
}
.downloads-more {
width: 100%;
}
.downloads-more a {
display: block;
width: 100%;
padding: 5px 10px;
text-align: center;
color: #fff;
text-decoration: none;
transition: background .2s;
}
.downloads-more a:hover,
.downloads-more a:focus {
background: rgba(255, 255, 255, .2);
}
.downloads-more a:active {
background: rgba(255, 255, 255, .1);
}
.downloads-item {
margin: 0 2px;
margin-bottom: 2px;
}
.downloads-nothing {
text-align: center;
font-size: 1.2em;
padding: 10px;
}
.index {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
align-items: center;
padding: 2px;
}
.index h2 {
font-size: 1.4em;
font-weight: 400;
padding: 5px 10px;
}
.index p {
margin: .2em 10px;
}
.create {}
.create-header {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
align-items: center;
padding: 2px;
}
.create-header h2 {
font-size: 1.4em;
font-weight: 400;
padding: 5px 10px;
}
.create-header p {
margin: .2em 10px;
}
.create-header code {
display: inline-block;
}
.create-form {
background: #161616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
align-items: center;
margin-top: 2px;
}
.create-form form {
display: flex;
}
.create-form-file {
flex: 1 1 auto;
display: flex;
align-items: center;
padding: 0 14px;
}
.create-form-submit {
flex: 0 0 auto;
background: #333;
color: #fff;
border: 0;
font-family: Verdana, Geneva, 'Dejavu Sans', Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 32px;
padding: 10px;
transition: background .2s;
}
.create-form-submit:hover,
.create-form-submit:focus {
background: #3A3A3A;
}
.create-form-submit:active {
background: #303030;
}
.create-error {
background: #361616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
align-items: center;
margin-top: 2px;
display: flex;
}
.create-error-icon {
flex: 0 0 auto;
background: #561616;
width: 40px;
height: 40px;
text-align: center;
line-height: 38px;
}
.create-error-icon img {
vertical-align: middle;
}
.create-error-text {
flex: 1 1 auto;
font-size: 1.2em;
padding: 4px 10px;
}
.http-error {
background: #361616;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 4px #000;
align-items: center;
margin-top: 2px;
display: flex;
}
.http-error-icon {
flex: 0 0 auto;
background: #561616;
width: 40px;
height: 40px;
text-align: center;
line-height: 38px;
}
.http-error-icon img {
vertical-align: middle;
}
.http-error-text {
flex: 1 1 auto;
font-size: 1.2em;
padding: 4px 10px;
}