Rev | Line | |
---|
[16] | 1 | .center {
|
---|
| 2 | text-align: center;
|
---|
| 3 | }
|
---|
| 4 |
|
---|
| 5 | .wrap {
|
---|
| 6 | display: flex;
|
---|
| 7 | flex-wrap: wrap;
|
---|
| 8 | justify-content: center;
|
---|
| 9 | }
|
---|
| 10 |
|
---|
| 11 | .wrap.languages {
|
---|
| 12 | flex-wrap: nowrap;
|
---|
| 13 | margin-bottom: 20px;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | #could_not_switch_languages_text {
|
---|
| 17 | color: red;
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | .item {
|
---|
| 21 | width: 100%;
|
---|
| 22 | height: 150px;
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | .item-wrapper {
|
---|
| 26 | display: flex;
|
---|
| 27 | flex-wrap: wrap;
|
---|
| 28 | justify-content: center;
|
---|
| 29 | width: 450px;
|
---|
| 30 | margin: 5px 10px;
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 | .language,
|
---|
| 35 | .switch_languages {
|
---|
| 36 | display: flex;
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | .language {
|
---|
| 40 | margin: 0px 10px;
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | .switch_languages {
|
---|
| 44 | margin: 0px 5px;
|
---|
| 45 | }
|
---|
| 46 |
|
---|
| 47 | #switchbutton {
|
---|
| 48 | white-space: nowrap;
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | button {
|
---|
| 52 | font-size: 1rem;
|
---|
| 53 | padding: 4px 10px;
|
---|
| 54 | border: 2px solid #888888;
|
---|
| 55 | }
|
---|
| 56 |
|
---|
| 57 | input,
|
---|
| 58 | select,
|
---|
| 59 | textarea {
|
---|
| 60 | width: 100%;
|
---|
| 61 | font-size: 1rem;
|
---|
| 62 | padding: 4px;
|
---|
| 63 | border: 2px solid #888888;
|
---|
| 64 | }
|
---|
| 65 |
|
---|
| 66 | textarea {
|
---|
| 67 | resize: vertical;
|
---|
| 68 | height: 5rem;
|
---|
| 69 | font-family: sans-serif;
|
---|
| 70 |
|
---|
| 71 | /* Stretch to form width */
|
---|
| 72 | width: 100%;
|
---|
| 73 | }
|
---|
| 74 |
|
---|
| 75 | input:focus,
|
---|
| 76 | select:focus,
|
---|
| 77 | textarea:focus,
|
---|
| 78 | button:focus {
|
---|
| 79 | border-color: #478061;
|
---|
| 80 | outline: 1px solid #478061;
|
---|
| 81 | }
|
---|
| 82 |
|
---|
| 83 |
|
---|
| 84 | body {
|
---|
| 85 | justify-content: center;
|
---|
| 86 | font-family: sans-serif;
|
---|
| 87 | }
|
---|
| 88 |
|
---|
| 89 | #definitions_and_translations {
|
---|
| 90 | display: grid;
|
---|
| 91 | margin: auto;
|
---|
| 92 | width: 1100px;
|
---|
| 93 | gap: 10px;
|
---|
| 94 | grid-template-areas: "definitions translations";
|
---|
| 95 |
|
---|
| 96 | }
|
---|
| 97 |
|
---|
| 98 | .def_type {
|
---|
| 99 | color: #007979;
|
---|
| 100 | text-transform: capitalize;
|
---|
| 101 | }
|
---|
| 102 |
|
---|
| 103 | .syn {
|
---|
| 104 | color: #804700;
|
---|
| 105 | }
|
---|
| 106 |
|
---|
| 107 | .syn_type {
|
---|
| 108 | color: #007979;
|
---|
| 109 | }
|
---|
| 110 |
|
---|
| 111 | .use_in_sentence {
|
---|
| 112 | color: #009902;
|
---|
| 113 | }
|
---|
| 114 |
|
---|
| 115 | .definitions li:not(:last-child) {
|
---|
| 116 | margin-bottom: 1rem;
|
---|
| 117 | }
|
---|
| 118 |
|
---|
| 119 | @media screen and (max-width: 1200px) {
|
---|
| 120 | #definitions_and_translations {
|
---|
| 121 | display: grid;
|
---|
| 122 | width: 90vw;
|
---|
| 123 | grid-template-areas:
|
---|
| 124 | "definitions definitions"
|
---|
| 125 | "translations translations";
|
---|
| 126 | }
|
---|
| 127 | }
|
---|
| 128 |
|
---|
| 129 |
|
---|
| 130 | div.definitions {
|
---|
| 131 | grid-area: definitions;
|
---|
| 132 | }
|
---|
| 133 |
|
---|
| 134 | div.translations {
|
---|
| 135 | grid-area: translations;
|
---|
| 136 | }
|
---|
| 137 |
|
---|
| 138 | @media screen and (prefers-color-scheme: dark) {
|
---|
| 139 | body {
|
---|
| 140 | background-color: #212529;
|
---|
| 141 | color: #f8f9fa;
|
---|
| 142 | }
|
---|
| 143 |
|
---|
| 144 | #could_not_switch_languages_text {
|
---|
| 145 | color: #F13333;
|
---|
| 146 | }
|
---|
| 147 |
|
---|
| 148 | a:visited {
|
---|
| 149 | color: #9759f6;
|
---|
| 150 | text-decoration: none;
|
---|
| 151 | }
|
---|
| 152 |
|
---|
| 153 | a {
|
---|
| 154 | color: #599bf6;
|
---|
| 155 | text-decoration: none;
|
---|
| 156 | }
|
---|
| 157 |
|
---|
| 158 | input,
|
---|
| 159 | select,
|
---|
| 160 | button,
|
---|
| 161 | textarea {
|
---|
| 162 | background-color: #131618;
|
---|
| 163 | border-color: #495057;
|
---|
| 164 | color: #f8f9fa;
|
---|
| 165 | }
|
---|
| 166 |
|
---|
| 167 | .def_type {
|
---|
| 168 | color: cyan;
|
---|
| 169 | text-transform: capitalize;
|
---|
| 170 | }
|
---|
| 171 |
|
---|
| 172 | .syn {
|
---|
| 173 | color: burlywood;
|
---|
| 174 | }
|
---|
| 175 |
|
---|
| 176 | .syn_type {
|
---|
| 177 | color: cyan;
|
---|
| 178 | }
|
---|
| 179 |
|
---|
| 180 | .use_in_sentence {
|
---|
| 181 | color: yellow;
|
---|
| 182 | }
|
---|
| 183 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.