qswiki/template/greensimple/style.css

173 рядки
1.9 KiB
CSS

body
{
padding: 0;
margin: 0;
font-family: Verdana;
background-color: white;
display: flex;
min-height: 100vh;
flex-direction: column;
}
header
{
margin: 0;
paddin: 0;
}
h1
{
margin: 0;
padding: 0;
}
h2
{
margin: 0;
padding: 0;
}
nav
{
//width: 100%;
padding: 0px;
margin: 0px;
display: flex;
background-color: #229638;
justify-content: space-between;
flex-wrap: wrap;
}
nav ul
{
background-color: #229638;
color: white;
margin: 0;
padding: 0;
list-style-type: none;
display: flex;
align-items: center;
flex-wrap: wrap;
}
nav li
{
margin: 0;
padding: 0;
}
nav a, nav a:visited
{
padding: 10px;
text-decoration: none;
color: white;
display: block;
font-weight: bold;
text-align: center;
line-height: 100%;
}
nav a:hover, nav a:focus
{
padding: 10px;
text-decoration: none;
background-color: white;
color: #229638;
display: block;
font-weight: bold;
}
a, a:visited
{
color: #229638;;
}
a:hover
{
background-color: #229638;
color: white;
}
#content
{
padding: 15px;
font-family: monospace;
font-size: 14pt;
flex: 1;
}
#content a, a:visited
{
color: #229638;
}
#content a:hover
{
background-color: #229638;
color: white;
}
footer
{
width: 100%;
display: block;
color: white;
background-color: #229638;
font-weight: bold;
}
footer ul
{
background-color: #229638;
margin: 0px;
padding: 0px;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
}
footer li
{
margin: 0;
padding: 0;
display: inline-block;
line-height: 45px;
color: white;
font-weight: bold;
//flex: 1 1 0;
text-align: center;
}
footer a, a:visited
{
text-decoration: none;
color: white;
display: inline-block;
}
footer a:hover, ul#nav a:focus
{
text-decoration: none;
color: #229638;
background-color: white;
display: inline-block;
}
#cats
{
background-color: #229638;
}
.letter_search_result
{
text-decoration: underline;
font-weight: bold;
}