2013-05-01 10:38:04 +00:00
|
|
|
html
|
|
|
|
{
|
2013-05-28 05:10:14 +00:00
|
|
|
background-color: white;
|
2013-05-01 10:38:04 +00:00
|
|
|
}
|
|
|
|
|
2013-03-23 16:48:31 +00:00
|
|
|
body
|
|
|
|
{
|
|
|
|
margin-top: 1px;
|
|
|
|
margin-right: 3px;
|
|
|
|
margin-left: 2px;
|
|
|
|
margin-bottom: 3px;
|
2013-05-28 05:10:14 +00:00
|
|
|
background: white;
|
2013-07-26 16:00:08 +00:00
|
|
|
font-family: Tahoma, Verdana, "Lucida Sans Unicode", "Segoe UI", "Palatino Linotype", "Arial Unicode MS", sans-serif;
|
2013-03-23 16:48:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a
|
|
|
|
{
|
|
|
|
text-decoration: none;
|
|
|
|
color: darkblue;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover
|
|
|
|
{
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gdarticle
|
|
|
|
{
|
|
|
|
margin-top: 0.1em;
|
|
|
|
margin-bottom: 0.4em;
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid #d0dde2;
|
|
|
|
border-radius: 8px;
|
2013-05-01 10:38:04 +00:00
|
|
|
background: white;
|
2013-03-23 16:48:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.gdactivearticle
|
|
|
|
{
|
|
|
|
border: 1px solid #3399FF;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gdarticleseparator + script + .gdactivearticle .gddictname
|
|
|
|
{
|
|
|
|
border-top: 1px solid #3399FF;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gdarticleseparator
|
|
|
|
{
|
|
|
|
display: none;
|
2022-01-20 12:43:42 +00:00
|
|
|
clear: both;
|
2013-03-23 16:48:31 +00:00
|
|
|
}
|
|
|
|
|
2017-10-04 19:14:19 +00:00
|
|
|
/* Hide the 'From ' string which precedes dictionary name in the heading */
|
2013-03-30 23:14:28 +00:00
|
|
|
.gdfromprefix
|
|
|
|
{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-03-23 16:48:31 +00:00
|
|
|
.gddictname
|
|
|
|
{
|
2013-06-02 12:28:38 +00:00
|
|
|
display: -webkit-box; /* needed to be able to reorder elements, e.g. icon, dictionary name, collapse icon */
|
2013-03-23 16:48:31 +00:00
|
|
|
font-size: 12px;
|
|
|
|
font-weight: normal;
|
|
|
|
float: right;
|
|
|
|
border: 0px;
|
|
|
|
border-top-right-radius: 8px;
|
|
|
|
border-bottom-left-radius: 6px;
|
|
|
|
margin: -6px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
margin-left: 2px;
|
2013-06-02 12:28:38 +00:00
|
|
|
padding-right: 0.3em;
|
2013-03-23 16:48:31 +00:00
|
|
|
color: #4480f8;
|
|
|
|
background: #E0E8F0;
|
|
|
|
|
|
|
|
-webkit-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2013-06-02 12:28:38 +00:00
|
|
|
/* Actual text with the dictionary title */
|
|
|
|
.gddicttitle
|
|
|
|
{
|
|
|
|
display:block;
|
|
|
|
-webkit-box-ordinal-group: 1;
|
2014-06-26 14:07:28 +00:00
|
|
|
-webkit-box-flex: 1;
|
2013-06-02 12:28:38 +00:00
|
|
|
}
|
|
|
|
|
2013-03-23 16:48:31 +00:00
|
|
|
.gdactivearticle .gddictname
|
|
|
|
{
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: -6px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
margin-left: 2px;
|
|
|
|
|
|
|
|
float: right;
|
|
|
|
border: 1px solid #3399FF;
|
|
|
|
color: #0066cc;
|
|
|
|
background: #deecf8;
|
|
|
|
}
|
|
|
|
|
2013-06-02 12:28:38 +00:00
|
|
|
.gdcollapsedarticle .gddictname
|
|
|
|
{
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Nice diagonal pattern for the collapsed article */
|
|
|
|
.gdcollapsedarticle
|
|
|
|
{
|
|
|
|
background-image: -webkit-linear-gradient(left top, #ccc 0%, #ccc 25%, #bbb 25%, #bbb 50%, #ccc 50%, #ccc 75%, #bbb 75%);
|
|
|
|
background-size: 50px 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Move the collapse/expand buttons to the last, 3rd position */
|
|
|
|
.collapse_expand_area
|
|
|
|
{
|
|
|
|
display: block;
|
|
|
|
-webkit-box-ordinal-group: 3;
|
|
|
|
}
|
|
|
|
|
2013-03-23 16:48:31 +00:00
|
|
|
.gddicticon
|
|
|
|
{
|
2013-06-02 12:28:38 +00:00
|
|
|
display: block;
|
2013-03-23 16:48:31 +00:00
|
|
|
vertical-align: text-bottom;
|
2013-06-02 12:28:38 +00:00
|
|
|
padding-right: -1em;
|
2013-03-23 16:48:31 +00:00
|
|
|
padding-left: 0.3em;
|
2013-06-02 12:28:38 +00:00
|
|
|
-webkit-box-ordinal-group: 2;
|
2022-01-26 16:38:53 +00:00
|
|
|
height: 1em;
|
2013-06-02 12:28:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.gdexpandicon, .gdexpandicon:hover, .gdcollapseicon, .gdcollapseicon:hover
|
|
|
|
{
|
|
|
|
width:15px;
|
|
|
|
background-position: center 35%;
|
|
|
|
background-repeat:no-repeat;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
padding-left: -5px;
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gdexpandicon {
|
|
|
|
background-image: url('qrcx://localhost/icons/expand_article.png');
|
|
|
|
}
|
|
|
|
|
|
|
|
.gdexpandicon:hover {
|
|
|
|
background-image: url('qrcx://localhost/icons/expand_article_hovered.png');
|
|
|
|
}
|
|
|
|
|
|
|
|
.gdcollapseicon {
|
|
|
|
background-image: url('qrcx://localhost/icons/collapse_article.png');
|
|
|
|
}
|
|
|
|
|
|
|
|
.gdcollapseicon:hover {
|
|
|
|
background-image: url('qrcx://localhost/icons/collapse_article_hovered.png');
|
2013-03-23 16:48:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* The first headword in a (possibly) multi-headword DSL article */
|
2017-06-20 14:41:30 +00:00
|
|
|
.gdarticlebody > div:first-child .dsl_headwords,
|
2013-03-23 16:48:31 +00:00
|
|
|
.gdarticlebody > h3:first-child
|
|
|
|
{
|
|
|
|
margin-top: -3px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gdspellsuggestion
|
|
|
|
{
|
|
|
|
/* Add some vertical space before the article */
|
|
|
|
margin-top: 1.5em;
|
|
|
|
}
|
|
|
|
|
2013-11-09 10:36:11 +00:00
|
|
|
.dsl_ex, .dsl_ex .dsl_opt
|
2013-03-23 16:48:31 +00:00
|
|
|
{
|
|
|
|
color: steelblue;
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
background:#cc0000;
|
|
|
|
color:#fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
code::selection {
|
|
|
|
background: #333333;
|
|
|
|
}
|