Skip to content

Commit

Permalink
devonfw#153 add styles for tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
tobka777 committed Nov 9, 2021
1 parent 2711bea commit 9b736a9
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions asciidoctor-stylesheet/sass/components/_asciidoc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,66 @@ b.button:after {
font-size: 1.2em;
}

.toc {
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/icons8-facebook_like.png');
content: "";
display: inline-block;
width: 90px;
height: 75px;
background-repeat: no-repeat;
position: relative;
}
a {
height: 100px;
position: relative;
top: -18px;
}
}
}
}

.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/icons8-facebook_like.png');
content: "";
display: inline-block;
width: 90px;
height: 75px;
background-repeat: no-repeat;
position: relative;
}
a {
height: 100px;
position: relative;
top: -18px;
}
}
}

// IMPORTANT below this breakpoint, toc2 acts as the header toc!!
@media #{$small} {
#toctitle {
Expand Down

0 comments on commit 9b736a9

Please sign in to comment.