Improve layout

This commit is contained in:
ahocevar
2019-01-09 21:47:48 +01:00
parent c4c6f84bca
commit f368fa1a28
3 changed files with 17 additions and 25 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
e.clearSelection();
});
var codepenButton = document.getElementById('codepen-button');
var codepenButton = document.getElementsByClassName('codepen-button')[0];
if (codepenButton) {
codepenButton.onclick = function(event) {
event.preventDefault();
+8 -3
View File
@@ -91,9 +91,14 @@ pre[class*="language-"] {
background: #FFFFFF;
}
pre>legend {
font-size: 100%;
font-weight: bold;
}
.source-controls {
position: absolute;
margin-top: 20px;
margin-top: 10px;
right: 40px;
}
@@ -101,12 +106,12 @@ pre[class*="language-"] {
margin-left: 15px;
}
#copy-button {
.copy-button {
text-decoration: none;
cursor: pointer;
}
#codepen-button {
.codepen-button {
text-decoration: none;
cursor: pointer;
}