Skip to content

Instantly share code, notes, and snippets.

@iComputerfreak
Created February 15, 2019 12:26
Show Gist options
  • Save iComputerfreak/b056e5486b91b218e0350904c5849f82 to your computer and use it in GitHub Desktop.
Save iComputerfreak/b056e5486b91b218e0350904c5849f82 to your computer and use it in GitHub Desktop.
The style sheet for the HTML output of https://github.com/iComputerfreak/BetterQuesting-Parser/
body {
font-family: "Helvetica Neue", "Arial";
}
.item {
font-family: "SF Mono", "Menlo", "Courier New";
}
table {
border-collapse: collapse;
width: 100%;
}
th,
td {
text-align: left;
padding: 8px;
width: 1px;
white-space: nowrap;
font-size: 10pt;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
th {
background-color: #662899;
color: white;
}
.item {
width: 99%;
}
/* TOOLTIPS */
/* Tooltip Text */
.nbt {
position: relative;
display: inline-block;
}
/* Tooltip Box */
code.nbtdata {
visibility: hidden;
white-space: pre;
text-align: left;
font-family: "SF Mono", "Menlo", "Courier New";
position: absolute;
z-index: 1;
top: -5px;
right: 105%;
padding: 5px;
background:#F8F8F8;
border: 3px solid #DFDFDF;
border-radius: 6px;
color: #717171;
}
/* Show the tooltip text when you mouse over the tooltip container */
.nbt:hover .nbtdata {
visibility: visible;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment