Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/public/css/classic.css

178 lignes
2,7 Kio
CSS
Brut Vue normale Historique

/* This is a placeholder so the classic theme can be used */
2017-07-23 04:50:36 +02:00
/* Ideally, the decorative parts of main.css would be here instead of there. This will have to do for now though */
2017-07-23 04:50:36 +02:00
body {
color: #333;
background: #ededed;
}
2017-07-23 04:50:36 +02:00
.header, .box, .pagination li, .user-menu {
box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.1)
}
a {
2017-07-23 04:50:36 +02:00
color: #196759;
pointer-events: auto;
}
a:hover {
color: #238BC7;
}
.header {
2017-07-23 04:50:36 +02:00
background: #111;
/* Old browsers */
background: -moz-linear-gradient(bottom, #222 0%, #111 100%);
background: -webkit-linear-gradient(bottom, #222 0%, #111 100%);
background: linear-gradient(to top, #222 0%, #111 100%);
border-color: #444;
}
2017-07-23 04:50:36 +02:00
.header .nav-btn {
color: #ccc;
}
2017-07-23 04:50:36 +02:00
.header .nav-btn:hover {
color: #d5d5d5;
}
.box, .pagination li, .modtools {
2017-07-23 04:50:36 +02:00
background: rgba(255, 255, 255, 0.8);
border-color: #BBC9CF !important;
}
2017-07-23 04:50:36 +02:00
.form-input {
border-color: #BBC9CF !important;
background: #fafafa;
color: #666;
}
.form-input.refine {
border-color: rgb(74, 92, 193)!important;
background: rgb(74, 92, 193);
color: white;
}
2017-07-23 04:50:36 +02:00
.btn:hover, .up-btn:hover {
background: rgba(192, 192, 192, 0.2);
}
2017-07-23 04:50:36 +02:00
.form-input:focus {
box-shadow: 0 0 5px #fff;
}
select:after {
2017-07-23 04:50:36 +02:00
content: "AAAAA";
}
.header .h-user .user-avatar {
2017-07-23 04:50:36 +02:00
background: #111;
border-color: #444;
}
2017-07-23 04:50:36 +02:00
table thead {
background: #fff;
}
2017-07-23 04:50:36 +02:00
th a {
color: #6E96AA;
}
2017-07-23 04:50:36 +02:00
th {
border-color: #ddd !important;
}
2017-07-23 04:50:36 +02:00
td {
border-color: #ccc !important;
}
2017-07-23 04:50:36 +02:00
td.tr-se, .success-text {
color: #22A243;
}
2017-07-23 04:50:36 +02:00
td.tr-le, .error-text {
color: #E84C4C;
}
.btn-red {
2017-07-23 04:50:36 +02:00
background-color: #E84C4C;
color: #E8E8E8!important;
}
.btn-red:hover {
2017-07-23 04:50:36 +02:00
color: #E8E8E8;
}
.torrent-info-box>p>a, .torrent-info-box>div>a, #description-box a {
color: #1fa4d0;
}
2017-07-23 04:50:36 +02:00
.torrent-info-box>p>a:hover, .torrent-info-box>div>a:hover, #description-box a:hover {
color: #1fa4d0;
}
2017-07-23 04:50:36 +02:00
"Alternating Colors" option in settings (#1440) * Non-bold torrent name when using alternating background colors * Add alternating colors for g.css * Add alternating colors for classic.css * Add alternating colors for tomorreuw * Update classic.css * Add alternating colors to settings page * Add alt-colors class to tbody if enabled * Add GetAltColorsFromRequest() function to get AltColors cookie value * Create AltColors variable for usage in listing * Make settings handle altColors input * Add AltColors in user struct * Returned the wrong variable here * Turn function return value into bool * Condition checks variable like a bool * ditto * better color for g.css * even better color * better * Last change for g.css * Improvement for tomorrow * Update classic.css * add alt-colors class to upload preview * Add alt-colors to user profile * more vivid color for g * Fix typo * Remove browser outline for refine when clicked on * remove browser outline * Fix rules that didn't apply and category icon being way too small on user profile thanks to usage of percentage * Remove show-xs class for search inputs * Turn refine button back into position: absolute to pin at very bottom of refine * Alternating colors for g's trusted, remake & aplus * Update tomorrow.css * attempt at fixing travis * test (will have to rollback that change) * rollback * will have to rollback * will have to rollback * will have to rollback * will have to rollback * add AltColors variable to template test * rollback * rollback * rollback * rollback
2017-08-30 07:21:45 +02:00
.alt-colors tr:nth-child(odd) {
background: hsla(231, 6%, 80%, 0.2);
"Alternating Colors" option in settings (#1440) * Non-bold torrent name when using alternating background colors * Add alternating colors for g.css * Add alternating colors for classic.css * Add alternating colors for tomorreuw * Update classic.css * Add alternating colors to settings page * Add alt-colors class to tbody if enabled * Add GetAltColorsFromRequest() function to get AltColors cookie value * Create AltColors variable for usage in listing * Make settings handle altColors input * Add AltColors in user struct * Returned the wrong variable here * Turn function return value into bool * Condition checks variable like a bool * ditto * better color for g.css * even better color * better * Last change for g.css * Improvement for tomorrow * Update classic.css * add alt-colors class to upload preview * Add alt-colors to user profile * more vivid color for g * Fix typo * Remove browser outline for refine when clicked on * remove browser outline * Fix rules that didn't apply and category icon being way too small on user profile thanks to usage of percentage * Remove show-xs class for search inputs * Turn refine button back into position: absolute to pin at very bottom of refine * Alternating colors for g's trusted, remake & aplus * Update tomorrow.css * attempt at fixing travis * test (will have to rollback that change) * rollback * will have to rollback * will have to rollback * will have to rollback * will have to rollback * add AltColors variable to template test * rollback * rollback * rollback * rollback
2017-08-30 07:21:45 +02:00
}
/* Original Nyaa colors, do NOT change! */
2017-07-23 04:50:36 +02:00
.aplus, .btn-blue {
background: #60B0F0;
}
.trusted, .btn-green {
background: #98D9A8;
}
.remake, .btn-orange {
background: #F0B080;
}
.pagination .active {
background: #d5d5d5;
color: #222;
}
2017-07-23 04:50:36 +02:00
.pagination .disabled {
color: #d5d5d5;
cursor: unset;
}
.sukebei {
color: #9C7575;
}
2017-07-13 13:25:21 +02:00
2017-07-23 04:50:36 +02:00
.sukebei a {
color: #893636;
}
.sukebei a:hover {
color: #C7235D;
}
.sukebei th {
color: #9C7575;
}
2017-07-23 04:50:36 +02:00
.sukebei th a {
color: #893636;
}
2017-07-13 13:25:21 +02:00
2017-07-23 04:50:36 +02:00
.sukebei #mascot {
background-image: url('/img/mafuyu.svg');
background-size: 100%;
}
2017-07-19 23:10:24 +02:00
#announce {
color: #3a4249;
background-color: #fff5e7;
border-color: #ecd2ae;
}
2017-08-02 22:15:06 +02:00
2017-07-23 04:50:36 +02:00
.form-input.language {
background-color: #f5f5f5;
}
.torrent-preview-table>table { border: 3px solid #ededed; }