mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Tweaks to Lingoes-Blue style (by anion23)
This commit is contained in:
parent
994eb998e9
commit
e3d0cb090b
|
@ -1,40 +1,40 @@
|
||||||
body {
|
body {
|
||||||
background: #EAF0F8;
|
background: #EAF0F8;
|
||||||
margin: 0.4em;
|
margin: 0.3em;
|
||||||
font-family: "Arial Unicode MS", "Lucida Sans Unicode", Tahoma, "Palatino Linotype";
|
font-family: "Arial Unicode MS", "Lucida Sans Unicode", Tahoma, "Palatino Linotype";
|
||||||
line-height: 120%;
|
line-height: 120%;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: darkblue;
|
color: darkblue;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gdarticle {
|
.gdarticle {
|
||||||
background: #FFFEF2;
|
background: #FFFEF2;
|
||||||
margin-top: 0.1em;
|
margin-top: 0.1em;
|
||||||
margin-bottom: 0.4em;
|
margin-bottom: 0.35em;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
padding-top: -10px;
|
padding-top: -10px;
|
||||||
border: 1px solid #C7D4DC;
|
border: 1px solid #C7D4DC;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gdactivearticle {
|
.gdactivearticle {
|
||||||
background: #FFFEF2;
|
background: #FFFEF2;
|
||||||
border: 1px solid #92B0DD;
|
border: 1px solid #92B0DD;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gdarticleseparator + script + .gdactivearticle .gddictname {
|
.gdarticleseparator + script + .gdactivearticle .gddictname {
|
||||||
border-top: 1px solid #92B0DD;
|
border-top: 1px solid #92B0DD;
|
||||||
border-right: 1px solid #92B0DD;
|
border-right: 1px solid #92B0DD;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gddictname {
|
.gddictname {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
float: right;
|
float: right;
|
||||||
|
@ -48,40 +48,40 @@ a:hover {
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
padding-right: 0.4em;
|
padding-right: 0.4em;
|
||||||
color: #34517D;
|
color: #34517D;
|
||||||
background: #DDE6F5;
|
background: #DDE6F5;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gdactivearticle .gddictname {
|
.gdactivearticle .gddictname {
|
||||||
border-top: 1px solid #92B0DD;
|
border-top: 1px solid #92B0DD;
|
||||||
border-right: 1px solid #92B0DD;
|
border-right: 1px solid #92B0DD;
|
||||||
color: darkblue;
|
color: darkblue;
|
||||||
background: #CFDDF0;
|
background: #CFDDF0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gdarticleseparator {
|
.gdarticleseparator {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The 'From ' string which preceeds dictionary name in the heading */
|
/* The 'From ' string which preceeds dictionary name in the heading */
|
||||||
.gdfromprefix {
|
.gdfromprefix {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The first headword in a (possibly) multi-headword DSL article */
|
/* The first headword in a (possibly) multi-headword DSL article */
|
||||||
.gdarticlebody > span:first-child .dsl_headwords,
|
.gdarticlebody > span:first-child .dsl_headwords,
|
||||||
.gdarticlebody > h3:first-child {
|
.gdarticlebody > h3:first-child {
|
||||||
margin-top: -3px;
|
margin-top: -3px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mwiki .toc, .mwiki .metadata mbox-small plainlinks {
|
|
||||||
display:none
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ÄÎÁÀÂËÅÍÈÅ ÈÊÎÍÊÈ ÑËÎÂÀÐß ÑÏÐÀÂÀ ÎÒ ÈÌÅÍÈ ÑËÎÂÀÐÈÊÀ  ÊÀÐÒÎ×ÊÅ */
|
.mwiki .toc, .mwiki .metadata mbox-small plainlinks {
|
||||||
|
display:none
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dictionary icon is to the right */
|
||||||
.gddicticon {
|
.gddicticon {
|
||||||
display: inline;
|
display: inline;
|
||||||
vertical-align: center;
|
vertical-align: center;
|
||||||
|
@ -96,7 +96,7 @@ a:hover {
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ÍÀÑÒÐÎÉÊÈ ÎÒÎÁÐÀÆÅÍÈß ÂÛÄÅËÅÍÈß */
|
/* Text selection */
|
||||||
::selection {
|
::selection {
|
||||||
background: #839EC7;
|
background: #839EC7;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
|
@ -106,7 +106,7 @@ code::selection {
|
||||||
background: #839EC7;
|
background: #839EC7;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ÍÀÑÒÐÎÉÊÈ ÎÒÎÁÐÀÆÅÍÈß ÇÀÃÎËÎÂÊÎÂ ÑÒÀÒÅÉ */
|
/* Headers */
|
||||||
h3 {
|
h3 {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-family: Arial;
|
font-family: Arial;
|
||||||
|
@ -114,13 +114,13 @@ h3 {
|
||||||
|
|
||||||
/******** DSL Dictionaries ****************/
|
/******** DSL Dictionaries ****************/
|
||||||
|
|
||||||
/* Íàñòðîéêè îòîáðàæåíèÿ çàãîëîâêîâ ñòàòåé */
|
/* DSL headwords */
|
||||||
.dsl_headwords {
|
.dsl_headwords {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-family: Arial;
|
font-family: Arial;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Íàñòðîéêè îòîáðàæåíèÿ ôîðìàòèðîâàííîãî òåêñòà */
|
/* Formatting */
|
||||||
.dsl_b {
|
.dsl_b {
|
||||||
font-family: Arial;
|
font-family: Arial;
|
||||||
}
|
}
|
||||||
|
@ -129,14 +129,6 @@ h3 {
|
||||||
color: slategray;
|
color: slategray;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dsl_m0 {
|
|
||||||
text-align: left;
|
|
||||||
padding-left: 10px;
|
|
||||||
border: 1px inset gray; padding: 0.1em; padding-left: 0.1em;
|
|
||||||
margin-top: 1em; margin-bottom: 1em;
|
|
||||||
background: #FFFFDD;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dsl_ref {
|
.dsl_ref {
|
||||||
color: #0000DD;
|
color: #0000DD;
|
||||||
}
|
}
|
||||||
|
@ -145,7 +137,7 @@ h3 {
|
||||||
color: #0000DD;
|
color: #0000DD;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Íàñòðîéêè îòîáðàæåíèÿ óäàðåíèÿ â ñëîâàõ */
|
/* Stress settings */
|
||||||
.dsl_stress_without_accent {
|
.dsl_stress_without_accent {
|
||||||
display: none;
|
display: none;
|
||||||
color: green;
|
color: green;
|
||||||
|
@ -160,7 +152,7 @@ h3 {
|
||||||
color: blue;
|
color: blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Íàñòðîéêè îòîáðàæåíèÿ èêîíêè çâóêà */
|
/* Sound icon */
|
||||||
.dsl_s_wav img {
|
.dsl_s_wav img {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,8 +17,9 @@ MainWindow #centralWidget QTabBar::tab {
|
||||||
border-top-right-radius: 4px;
|
border-top-right-radius: 4px;
|
||||||
padding: 1px 3px;
|
padding: 1px 3px;
|
||||||
margin-left: 1px;
|
margin-left: 1px;
|
||||||
margin-bottom: 4px;
|
margin-top: 2px;
|
||||||
background-color: #EAF0F8;
|
margin-bottom: 2px;
|
||||||
|
background-color: #CFDDF0;
|
||||||
color: darkslategray;
|
color: darkslategray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,3 +74,8 @@ ScanPopup #outerFrame
|
||||||
{
|
{
|
||||||
background-color: #CEDDEF;
|
background-color: #CEDDEF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ScanPopup #dictionaryBar
|
||||||
|
{
|
||||||
|
background: #CEDDEF;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue