2016-04-15 03:36:00 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2016 Alex Yatskov <alex@foosoft.net>
|
|
|
|
* Author: Alex Yatskov <alex@foosoft.net>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2016-04-29 03:36:55 +00:00
|
|
|
/* common styles */
|
|
|
|
|
2016-04-15 03:36:00 +00:00
|
|
|
body {
|
2016-04-16 05:33:13 +00:00
|
|
|
background-color: #fff;
|
2016-04-17 05:54:19 +00:00
|
|
|
color: #333;
|
|
|
|
font-family: helvetica neue,helvetica,arial,sans-serif;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 1.42857143;
|
|
|
|
overflow-y: auto;
|
2016-04-24 18:26:42 +00:00
|
|
|
padding: 5px;
|
2016-04-15 03:36:00 +00:00
|
|
|
}
|
|
|
|
|
2016-04-17 05:54:19 +00:00
|
|
|
.tag {
|
2016-04-29 03:36:55 +00:00
|
|
|
border-radius: 0.25em;
|
|
|
|
color: #fff;
|
|
|
|
cursor: default;
|
|
|
|
display: inline;
|
|
|
|
font-size: 75%;
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 0.2em 0.6em 0.3em;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: baseline;
|
|
|
|
white-space: nowrap;
|
2016-04-16 18:41:33 +00:00
|
|
|
}
|
|
|
|
|
2016-04-19 02:59:56 +00:00
|
|
|
.tag-default {
|
|
|
|
background-color: #8a8a91;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-name {
|
|
|
|
background-color: #5cb85c;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-expression {
|
|
|
|
background-color: #f0ad4e;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-popular {
|
|
|
|
background-color: #0275d8;
|
|
|
|
}
|
|
|
|
|
2016-05-05 02:10:28 +00:00
|
|
|
.action-bar {
|
2016-05-04 03:25:35 +00:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2016-05-05 02:10:28 +00:00
|
|
|
.action-bar:after {
|
2016-05-04 03:25:35 +00:00
|
|
|
clear: both;
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2016-05-05 02:10:28 +00:00
|
|
|
.action-bar .disabled {
|
|
|
|
pointer-events: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.action-bar .disabled img {
|
2016-05-04 05:07:05 +00:00
|
|
|
-webkit-filter: grayscale(100%);
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
|
2016-04-29 03:36:55 +00:00
|
|
|
/* term styles */
|
|
|
|
|
|
|
|
.term-expression {
|
|
|
|
display: inline-block;
|
|
|
|
font-family: serif;
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.term-expression a {
|
|
|
|
border-bottom: 1px #777 dashed;
|
|
|
|
color: #333;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.term-rules {
|
|
|
|
color: #777;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.term-glossary ol {
|
2016-04-17 05:54:19 +00:00
|
|
|
padding-left: 1.2em;
|
2016-04-15 03:36:00 +00:00
|
|
|
}
|
2016-04-16 05:33:13 +00:00
|
|
|
|
2016-04-29 03:36:55 +00:00
|
|
|
.term-glossary li {
|
2016-04-16 05:33:13 +00:00
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
|
2016-04-29 03:36:55 +00:00
|
|
|
.term-glossary li span {
|
2016-04-16 05:33:13 +00:00
|
|
|
color: #000;
|
|
|
|
}
|
2016-04-25 02:50:04 +00:00
|
|
|
|
2016-04-29 03:36:55 +00:00
|
|
|
/* kanji styles */
|
|
|
|
|
2016-04-29 03:32:04 +00:00
|
|
|
.kanji-glyph {
|
|
|
|
float: left;
|
2016-05-04 03:25:35 +00:00
|
|
|
font-family: 'KanjiStrokeOrders';
|
2016-04-29 03:32:04 +00:00
|
|
|
font-size: 140px;
|
|
|
|
line-height: 140px;
|
|
|
|
padding: 0.01em;
|
|
|
|
vertical-align: top;
|
2016-04-25 05:06:49 +00:00
|
|
|
}
|
|
|
|
|
2016-04-29 03:32:04 +00:00
|
|
|
.kanji-info {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
2016-04-25 02:50:04 +00:00
|
|
|
}
|
2016-04-25 05:06:49 +00:00
|
|
|
|
2016-04-29 03:32:04 +00:00
|
|
|
.kanji-info dt {
|
|
|
|
font-weight: bold;
|
2016-04-25 05:06:49 +00:00
|
|
|
}
|
|
|
|
|
2016-04-29 03:32:04 +00:00
|
|
|
.kanji-info dd {
|
|
|
|
margin-left: 1.2em;
|
2016-04-25 05:06:49 +00:00
|
|
|
}
|
2016-04-29 03:32:04 +00:00
|
|
|
|