Rolls back the custom toc style

This commit is contained in:
Michael Weimann 2019-10-17 18:12:11 +02:00
parent fa32b33ef9
commit bda7856e1e
Signed by: mweimann
GPG Key ID: 34F0524D4DA694A1
3 changed files with 14 additions and 27 deletions

View File

@ -1,23 +0,0 @@
.toc {
background: rgb(240, 240, 240);
border: 1px solid #a2a9b1;
padding: @spacing-2;
&__title {
font-weight: bold;
margin-bottom: @spacing-1;
}
&__content {
font-size: .9em;
line-height: 1.5;
margin-bottom: 0;
}
}
@media screen and (min-width: @screen-md-min) {
.toc {
display: inline-block;
width: 80%;
}
}

View File

@ -3,7 +3,6 @@
@import "elements/figure";
@import "elements/podcast";
@import "elements/sharebuttons";
@import "elements/toc";
@import "pages/interview";
@import "pages/spreadtheword";

View File

@ -13,6 +13,17 @@
h3 {
margin-top: .75em;
}
div#toc {
float: left;
border: solid 1px;
border-color: blue;
margin: .5em;
margin-top: 1em;
margin-bottom: 2em;
background: rgb(240, 240, 240);
width: 80%;
}
</style>
</head>
<body>
@ -41,9 +52,9 @@
</div>
</blockquote>
<div class="toc">
<div class="toc__title">Table of contents</div>
<ul class="toc__content">
<div id="toc">
<p style="text-indent:1em; font-size:150%; padding-top:0.5em; font-weight: bold;">Table of contents</p>
<ul style="margin: 1em; font-size:120%; font-weight: bold;">
<li><a href="#routerfreedom">ISP's infrastructure ends where Router Freedom begins!</a></li>
<li><a href="#pmpc">Europeans demand: "Public Money? Public Code!"</a></li>
<li><a href="#foss4smes">Explaining Free Software to business: Our FOSS4SMEs-project</a></li>