Align to website

This commit is contained in:
uid 2020-10-23 14:05:18 +02:00
parent 3f82cf1e2c
commit 4c4233246c
2 changed files with 43 additions and 6 deletions

View File

@ -9,22 +9,51 @@ html {
background-color: white; background-color: white;
color: black; color: black;
font-family: monospace; font-family: monospace;
font-size: 1em; font-size: 1.2em;
} }
body { body {
margin: 0; margin: 0;
width: 100%;
padding: 2rem 1rem;
}
@media (min-width: 426px) {
body {
width: 60vw;
margin: 2rem auto;
padding: 0;
}
} }
/* Links */ /* Links */
a {color: #0044B3;} /*a {color: #0044B3;}*/
a, a:visited {
text-decoration: none;
color: #378ab4;
}
a:hover {
font-weight: bold;
background-color: #378ab4;
color: #ffffff;
}
/* a:visited {color: #597BB3;} */ /* a:visited {color: #597BB3;} */
a:visited {color: #FF7BB3;}
a.nonexistent:visited, a.nonexistent, a.nonexistent:visited, a.nonexistent,
a.badinterwiki:visited, a.badinterwiki {color: gray;} a.badinterwiki:visited, a.badinterwiki {
color: #666666;
}
a.nonexistent:hover,
a.badinterwiki:hover {
background-color: #666666;
color: #ffffff;
}
/*
a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;} a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
a.http:before {content: url(../img/moin-www.png); margin: 0 0.2em;} a.http:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
a.https:before {content: url(../img/moin-www.png); margin: 0 0.2em;} a.https:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
@ -39,6 +68,7 @@ a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;} a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;} a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
a.action:before {content: url(../img/moin-action.png); margin: 0 0.2em;} a.action:before {content: url(../img/moin-action.png); margin: 0 0.2em;}
*/
li p { li p {
margin: .25em 0; margin: .25em 0;

View File

@ -14,7 +14,7 @@ body {
border: 0; border: 0;
} }
a:link { color: #47f; text-decoration: none; } /*a:link { color: #47f; text-decoration: none; }
a:link:hover, a:link:active { text-decoration: underline; color: green; } a:link:hover, a:link:active { text-decoration: underline; color: green; }
a:visited { text-decoration: none; color: #04a;} a:visited { text-decoration: none; color: #04a;}
a:visited:hover { text-decoration: none; color: red; } a:visited:hover { text-decoration: none; color: red; }
@ -30,6 +30,7 @@ a.download {
padding: 0.5em; padding: 0.5em;
text-align: center; text-align: center;
} }
*/
input { input {
/* does strange effect to button (text size becomes bigger when clicking) /* does strange effect to button (text size becomes bigger when clicking)
@ -76,6 +77,12 @@ textarea {
#logo a { #logo a {
text-decoration: none; text-decoration: none;
background-color: transparent;
}
#logo a:hover {
text-decoration: none;
background-color: transparent;
} }
@ -248,7 +255,7 @@ textarea {
margin: 4px 6px; margin: 4px 6px;
} }
.editbar a, .editbar a:visited { color: #0044B3; } /*.editbar a, .editbar a:visited { color: #0044B3; }*/
#message { #message {
clear: both; clear: both;