Browse Source

Rolls back the custom toc style

master
Michael Weimann 4 weeks ago
parent
commit
bda7856e1e
No account linked to committer's email address
3 changed files with 14 additions and 27 deletions
  1. 0
    23
      look/elements/toc.less
  2. 0
    1
      look/fsfe.less
  3. 14
    3
      news/2019/news-20191022-01.en.xhtml

+ 0
- 23
look/elements/toc.less 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%;
}
}

+ 0
- 1
look/fsfe.less View File

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


+ 14
- 3
news/2019/news-20191022-01.en.xhtml 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>

Loading…
Cancel
Save