yomichan/ext/client.css

52 lines
1.4 KiB
CSS
Raw Normal View History

2016-03-27 20:21:52 +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/>.
*/
.yomichan-popup {
2016-03-29 02:30:03 +00:00
all: initial;
2016-03-27 20:21:52 +00:00
background-color: #fff;
border: 1px solid #999;
box-shadow: 0 0 10px rgba(0, 0, 0, .5);
2016-03-28 05:27:30 +00:00
color: #000;
2016-03-29 02:30:03 +00:00
font-family: sans-serif;
2016-03-29 04:44:39 +00:00
font-size: 12pt;
max-height: 300px;
max-width: 500px;
min-width: 200px;
2016-03-29 02:53:55 +00:00
overflow-y: auto;
2016-03-27 20:21:52 +00:00
padding: 10px;
position: fixed;
2016-03-28 05:27:30 +00:00
visibility: hidden;
z-index: 256;
2016-03-27 20:21:52 +00:00
}
2016-03-28 03:15:23 +00:00
.yomichan-def-expression {
float: left;
2016-03-29 02:30:03 +00:00
font-family: serif;
2016-03-29 04:44:39 +00:00
font-size: 16pt;
2016-03-28 03:15:23 +00:00
}
.yomichan-def-reading {
float: right;
2016-03-29 02:30:03 +00:00
font-family: serif;
2016-03-29 04:44:39 +00:00
font-size: 16pt;
2016-03-28 03:15:23 +00:00
}
.yomichan-def-glossary {
clear: both;
}