Skip to content

Commit

Permalink
devonfw#153: optimize css
Browse files Browse the repository at this point in the history
  • Loading branch information
tobka777 committed Nov 18, 2021
1 parent b27f431 commit 1893f03
Showing 1 changed file with 2 additions and 34 deletions.
36 changes: 2 additions & 34 deletions asciidoctor-stylesheet/sass/components/_asciidoc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,10 @@ b.button:after {
font-size: 1.2em;
}

.toc {
.toc, .chapters {
display: flex;
flex-wrap: wrap;
width: 100%;
li {
border: 0.05rem solid rgba(43, 41, 45, 0.2);
list-style: none;
Expand All @@ -419,39 +420,6 @@ b.button:after {
}
}
}
}

.chapters {
display: flex;
flex-wrap: wrap;
li {
border: 0.05rem solid rgba(43, 41, 45, 0.2);
list-style: none;
width: 48%;
margin: 1%;
border-radius: 0.4rem;
padding: 0.75rem;
}
p {
&:before {
background-size: 90px auto;
background-image: url('/images/Image-devon-shop-floor.png');
content: "";
display: inline-block;
width: 90px;
height: 75px;
background-repeat: no-repeat;
position: relative;
}
a {
height: 100px;
position: relative;
top: -18px;
}
}
}

.toc, .chapters {
li[data-content="Angular"] p:before {
background-image: url('/images/icon-angular.png');
}
Expand Down

0 comments on commit 1893f03

Please sign in to comment.