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;
color: black;
font-family: monospace;
font-size: 1em;
font-size: 1.2em;
}
body {
margin: 0;
width: 100%;
padding: 2rem 1rem;
}
@media (min-width: 426px) {
body {
width: 60vw;
margin: 2rem auto;
padding: 0;
}
}
/* 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: #FF7BB3;}
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.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;}
@ -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.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;}
*/
li p {
margin: .25em 0;

View File

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