Changeset 51 in code for trunk/static


Ignore:
Timestamp:
Oct 7, 2023, 5:36:50 PM (20 months ago)
Author:
yakumo.izuru
Message:

もう少しいじってください

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/static/style.css

    r48 r51  
     1body {
     2    background-color: #ffffff;
     3    color: rgb(206, 147, 191);
     4}
     5a {
     6    color: rgb(206, 147, 191);
     7}
     8a:visited {
     9    color: rgb(206, 147, 191);
     10}
    111.center {
    212    text-align: center;
    313}
    4 
    514.wrap {
    615    display: flex;
     
    817    justify-content: center;
    918}
    10 
    1119.wrap.languages {
    1220    flex-wrap: nowrap;
    1321    margin-bottom: 20px;
    1422}
    15 
    1623#could_not_switch_languages_text {
    1724    color: red;
    1825}
    19 
    2026.item {
    2127    width: 100%;
    2228    height: 150px;
    2329}
    24 
    2530.item-wrapper {
    2631    display: flex;
     
    3136    gap: 10px;
    3237}
    33 
    34 
    3538.language,
    3639.switch_languages {
    3740    display: flex;
    3841}
    39 
    4042.language {
    4143    margin: 0px 10px;
    4244}
    43 
    4445.switch_languages {
    4546    margin: 0px 5px;
    4647}
    47 
    4848#switchbutton {
    4949    white-space: nowrap;
    5050}
    51 
    5251button {
    5352    font-size: 1rem;
     
    5554    border: 2px solid #888888;
    5655}
    57 
    5856input,
    5957select,
     
    6462    border: 2px solid #888888;
    6563}
    66 
    6764textarea {
    6865    resize: vertical;
     
    7370    width: 100%;
    7471}
    75 
    7672input:focus,
    7773select:focus,
     
    9692
    9793}
    98 
    9994.def_type {
    10095    color: #007979;
     
    105100    color: #804700;
    106101}
    107 
    108102.syn_type {
    109103    color: #007979;
    110104}
    111 
    112105.use_in_sentence {
    113106    color: #009902;
    114107}
    115 
    116108.definitions li:not(:last-child) {
    117109    margin-bottom: 1rem;
    118110}
    119 
    120111@media screen and (max-width: 1200px) {
    121112    #definitions_and_translations {
    122         display: grid;
    123         width: 90vw;
    124         grid-template-areas:
    125             "definitions definitions"
    126             "translations translations";
     113        display: grid;
     114        width: 90vw;
     115        grid-template-areas:
     116            "definitions definitions"
     117            "translations translations";
    127118    }
    128119}
    129 
    130 
    131120div.definitions {
    132121    grid-area: definitions;
    133122}
    134 
    135123div.translations {
    136124    grid-area: translations;
    137125}
    138 
    139126a {
    140127    text-decoration: none;
    141128}
    142 
    143129@media screen and (prefers-color-scheme: dark) {
     130    /* Loosely based on エレガントなお嬢様 - https://github.com/mei23/misskey/blob/mei-m544/src/client/themes/promo.json5 */
    144131    body {
    145         background-color: #212529;
    146         color: #f8f9fa;
     132        background-color: #700000;
     133        color: #ffffff;
    147134    }
    148 
    149135    #could_not_switch_languages_text {
    150         color: #F13333;
     136        color: yellow;
    151137    }
    152138
    153139    a:visited {
    154         color: #9759f6;
     140        color: #18c018;
    155141        text-decoration: none;
    156142    }
    157 
    158143    a {
    159         color: #599bf6;
     144        color: #18c018;
    160145        text-decoration: none;
    161146    }
    162 
     147    button {
     148        background-color: #18c018;
     149        color: #ffffff;
     150    }
    163151    input,
     152    textarea {
     153        background-color: #5b0000;
     154        border-color: #202020;
     155        color: #b3784b;
     156    }
    164157    select,
    165     button,
    166     textarea {
    167         background-color: #131618;
    168         border-color: #495057;
    169         color: #f8f9fa;
     158    option {
     159        background-color: #5b0000;
     160        color: #ffffff;
    170161    }
    171 
    172162    .def_type {
    173         color: cyan;
     163        color: #5d590c;
    174164        text-transform: capitalize;
    175165    }
    176 
    177166    .syn {
    178         color: burlywood;
     167        color: #bc8080;
    179168    }
    180 
    181169    .syn_type {
    182         color: cyan;
     170        color: #358611;
    183171    }
    184 
    185172    .use_in_sentence {
    186         color: yellow;
     173        color: #d7b081;
    187174    }
    188175}
Note: See TracChangeset for help on using the changeset viewer.