Skip to content

Commit

Permalink
opt: remove invalid css style in the style file
Browse files Browse the repository at this point in the history
[autofix.ci] apply automated fixes
  • Loading branch information
YiFang Xiao authored and xiaoyifang committed Oct 9, 2023
1 parent 5e148ea commit 526621a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 109 deletions.
52 changes: 1 addition & 51 deletions src/stylesheets/article-style-st-classic.css
Original file line number Diff line number Diff line change
Expand Up @@ -1068,22 +1068,6 @@ div.xdxf {
}
/* the left column width is specified in class .portlet */

/* Font size:
** We take advantage of keyword scaling- browsers won't go below 9px
** More at http://www.w3.org/2003/07/30-font-size
** http://style.cleverchimp.com/font_size_intervals/altintervals.html
*/

/*
body {
font: x-small sans-serif;
background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
color: black;
margin: 0;
padding: 0;
}
*/

/* scale back up to a sane default */
.mwiki #globalWrapper {
font-size: 127%;
Expand Down Expand Up @@ -1220,7 +1204,6 @@ body {
list-style-type: square;
margin: 0.3em 0 0 1.5em;
padding: 0;
list-style-image: url(bullet.gif);
}
.mwiki ol {
line-height: 1.5em;
Expand Down Expand Up @@ -1614,38 +1597,7 @@ in the bottom-right corner of the content area */
** keep the whitespace in front of the ^=, hides rule from konqueror
** this is css3, the validator doesn't like it when validating as css2
*/
.mwiki #bodyContent a.external,
.mwiki #bodyContent a[href ^="gopher://"]
{
background: url(external.png) center right no-repeat;
padding-right: 1em;
}
.mwiki #bodyContent a[href ^="https://"],
.mwiki .link-https {
background: url(lock_icon.gif) center right no-repeat;
padding-right: 16px;
}
.mwiki #bodyContent a[href^="mailto:"],
.mwiki .link-mailto {
background: url(mail_icon.gif) center right no-repeat;
padding-right: 18px;
}
.mwiki #bodyContent a[href ^="news://"]
{
background: url(news_icon.png) center right no-repeat;
padding-right: 18px;
}
.mwiki #bodyContent a[href ^="ftp://"],
.mwiki .link-ftp {
background: url(file_icon.gif) center right no-repeat;
padding-right: 18px;
}
.mwiki #bodyContent a[href ^="irc://"],
.mwiki #bodyContent a.extiw[href ^="irc://"],
.mwiki .link-irc {
background: url(discussionitem_icon.gif) center right no-repeat;
padding-right: 18px;
}

.mwiki #bodyContent a.external[href$=".ogg"],
.mwiki #bodyContent a.external[href$=".OGG"],
.mwiki #bodyContent a.external[href$=".oga"],
Expand Down Expand Up @@ -1763,7 +1715,6 @@ special external link styling */
.mwiki .portlet ul {
line-height: 1.5em;
list-style-type: square;
list-style-image: url(bullet.gif);
font-size: 95%;
}
.mwiki .portlet li {
Expand Down Expand Up @@ -1899,7 +1850,6 @@ in bg url to hide it from iemac */
.mwiki li#pt-userpage,
.mwiki li#pt-anonuserpage,
.mwiki li#pt-login {
background: url(user.gif) top left no-repeat;
padding-left: 20px;
text-transform: none;
}
Expand Down
59 changes: 1 addition & 58 deletions src/stylesheets/article-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1084,12 +1084,6 @@ div.xdxf {
font-size: smaller;
}

/* feed links */
.mwiki a.feedlink {
background: url("images/feed-icon.png") center left no-repeat;
padding-left: 16px;
}

/************ monobook/main.css **************/

/*
Expand Down Expand Up @@ -1125,23 +1119,6 @@ div.xdxf {
border-right: none;
line-height: 1.5em;
}
/* the left column width is specified in class .portlet */

/* Font size:
** We take advantage of keyword scaling- browsers won't go below 9px
** More at http://www.w3.org/2003/07/30-font-size
** http://style.cleverchimp.com/font_size_intervals/altintervals.html
*/

/*
body {
font: x-small sans-serif;
background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
color: black;
margin: 0;
padding: 0;
}
*/

/* scale back up to a sane default */
.mwiki #globalWrapper {
Expand Down Expand Up @@ -1279,7 +1256,6 @@ body {
list-style-type: square;
margin: 0.3em 0 0 1.5em;
padding: 0;
list-style-image: url(bullet.gif);
}
.mwiki ol {
line-height: 1.5em;
Expand Down Expand Up @@ -1673,38 +1649,7 @@ in the bottom-right corner of the content area */
** keep the whitespace in front of the ^=, hides rule from konqueror
** this is css3, the validator doesn't like it when validating as css2
*/
.mwiki #bodyContent a.external,
.mwiki #bodyContent a[href ^="gopher://"]
{
background: url(external.png) center right no-repeat;
padding-right: 1em;
}
.mwiki #bodyContent a[href ^="https://"],
.mwiki .link-https {
background: url(lock_icon.gif) center right no-repeat;
padding-right: 16px;
}
.mwiki #bodyContent a[href^="mailto:"],
.mwiki .link-mailto {
background: url(mail_icon.gif) center right no-repeat;
padding-right: 18px;
}
.mwiki #bodyContent a[href ^="news://"]
{
background: url(news_icon.png) center right no-repeat;
padding-right: 18px;
}
.mwiki #bodyContent a[href ^="ftp://"],
.mwiki .link-ftp {
background: url(file_icon.gif) center right no-repeat;
padding-right: 18px;
}
.mwiki #bodyContent a[href ^="irc://"],
.mwiki #bodyContent a.extiw[href ^="irc://"],
.mwiki .link-irc {
background: url(discussionitem_icon.gif) center right no-repeat;
padding-right: 18px;
}

.mwiki #bodyContent a.external[href$=".ogg"],
.mwiki #bodyContent a.external[href$=".OGG"],
.mwiki #bodyContent a.external[href$=".oga"],
Expand Down Expand Up @@ -1822,7 +1767,6 @@ special external link styling */
.mwiki .portlet ul {
line-height: 1.5em;
list-style-type: square;
list-style-image: url(bullet.gif);
font-size: 95%;
}
.mwiki .portlet li {
Expand Down Expand Up @@ -1958,7 +1902,6 @@ in bg url to hide it from iemac */
.mwiki li#pt-userpage,
.mwiki li#pt-anonuserpage,
.mwiki li#pt-login {
background: url(user.gif) top left no-repeat;
padding-left: 20px;
text-transform: none;
}
Expand Down

0 comments on commit 526621a

Please sign in to comment.