Skip to content

Commit 13e17f5

Browse files
author
Gaurav Nelson
committed
Make the TOC text unselectable
1 parent bae4738 commit 13e17f5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

_stylesheets/docs.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ nav#main {
1919
width: 100%;
2020
position: fixed;
2121
z-index: 10;
22-
}
22+
}
2323
}
2424

2525
.navbar.navbar-default.navbar-openshift .navbar-brand.origin {
@@ -510,7 +510,7 @@ h2:hover>a.anchor, h2>a.anchor:hover, h3:hover>a.anchor, h3>a.anchor:hover, h4:h
510510
/*side toc styling here */
511511

512512
#toc:before {
513-
font-family: "RedHatText",Overpass,"Open Sans",Helvetica,Arial,sans-serif;
513+
font-family: "RedHatText",Overpass,"Open Sans",Helvetica,Arial,sans-serif;
514514
content: "TABLE OF CONTENTS";
515515
color: #545454;
516516
font-size: 0.82em;
@@ -524,6 +524,7 @@ h2:hover>a.anchor, h2>a.anchor:hover, h3:hover>a.anchor, h3>a.anchor:hover, h4:h
524524
}
525525

526526
#toc {
527+
user-select: none;
527528
float: right;
528529
padding-top: 0.1em !important;
529530
font-size: 0.8em;
@@ -771,7 +772,7 @@ h2:hover>a.anchor, h2>a.anchor:hover, h3:hover>a.anchor, h3>a.anchor:hover, h4:h
771772
/*side toc styling here */
772773

773774
#toc:before {
774-
font-family: "RedHatText",Overpass,"Open Sans",Helvetica,Arial,sans-serif;
775+
font-family: "RedHatText",Overpass,"Open Sans",Helvetica,Arial,sans-serif;
775776
content: "TABLE OF CONTENTS";
776777
color: #545454;
777778
font-size: 0.82em;

0 commit comments

Comments
 (0)