Commit 0392a975 authored by Tobias Steiner's avatar Tobias Steiner
Browse files

Configurable of credits

parent ef5359c6
......@@ -22,10 +22,15 @@
* example with css vars
*/
#vars {
margin-left: 150px;
background-color: #e7ecf5;
margin-top: 1em;
--histhub-li-display: inline-block;
--histhub-li-padding: 0 0.5rem 0 0;
--histhub-a-hover-color: blue;
--histhub-li-padding: 0 1rem 0 0;
--histhub-a-color: #009;
--histhub-a-hover-color: #03c;
--histhub-a-hover-text-decoration: none;
--histhub-ul-margin: 0;
}
</style>
</head>
......
......@@ -18,8 +18,13 @@
/** a **/
--histhub-a-display: inline-block;
--histhub-a-color: black;
--histhub-a-text-decoration: none;
--histhub-a-hover-color: grey;
--histhub-a-hover-text-decoration: underline;
/** credits **/
--histhub-credits-font-size: 75%;
--histhub-credits-margin: 0;
}
ul {
......@@ -38,6 +43,7 @@
a {
color: var(--histhub-a-color);
display: var(--histhub-a-display);
text-decoration: var(--histhub-a-text-decoration);
}
a:hover {
......@@ -51,7 +57,8 @@
color: var(--histhub-h3-color);
}
.credits {
font-size: 75%;
font-size: var(--histhub-credits-font-size);
margin: var(--histhub-credits-margin);
}
</style>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment