Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit 078e95a

Browse files
committed
Update render
1 parent 5b43612 commit 078e95a

File tree

3 files changed

+146
-94
lines changed

3 files changed

+146
-94
lines changed

docs/ecmarkup.css

+42-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ span.e-user-code::before {
5151
line-height: 1;
5252
vertical-align: text-top;
5353
text-transform: uppercase;
54-
font-family: "Comic Code", sans-serif;
54+
font-family: 'Comic Code', sans-serif;
5555
font-weight: 900;
5656
font-size: x-small;
5757
}
@@ -1212,3 +1212,44 @@ li.menu-search-result-term:before {
12121212
.clause-attributes-tag a {
12131213
color: #884400;
12141214
}
1215+
1216+
/* Shortcuts help dialog */
1217+
1218+
#shortcuts-help {
1219+
position: fixed;
1220+
left: 5%;
1221+
margin: 0 auto;
1222+
right: 5%;
1223+
z-index: 10;
1224+
top: 10%;
1225+
top: calc(5vw + 5vh);
1226+
padding: 30px 90px;
1227+
max-width: 500px;
1228+
outline: solid 10000px rgba(255, 255, 255, 0.6);
1229+
border-radius: 5px;
1230+
border-width: 1px 1px 0 1px;
1231+
background-color: #ddd;
1232+
display: none;
1233+
}
1234+
1235+
#shortcuts-help.active {
1236+
display: block;
1237+
}
1238+
1239+
#shortcuts-help ul {
1240+
padding: 0;
1241+
}
1242+
1243+
#shortcuts-help li {
1244+
display: flex;
1245+
justify-content: space-between;
1246+
}
1247+
1248+
#shortcuts-help code {
1249+
padding: 3px 10px;
1250+
border-radius: 3px;
1251+
border-width: 1px 1px 0 1px;
1252+
border-color: #bbb;
1253+
background-color: #eee;
1254+
box-shadow: inset 0 -1px 0 #ccc;
1255+
}

0 commit comments

Comments
 (0)