1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 17:24:05 +08:00

mac mod font-size

This commit is contained in:
shylinux 2018-09-15 16:55:48 +08:00
parent 3551263347
commit a1fd40c2a7
3 changed files with 4 additions and 3 deletions

View File

@ -54,6 +54,8 @@ function menu() {
var head = document.getElementsByTagName(hs[i]); var head = document.getElementsByTagName(hs[i]);
for (var j = 0; j < head.length; j++) { for (var j = 0; j < head.length; j++) {
head[j].id = "head"+head[j].offsetTop; head[j].id = "head"+head[j].offsetTop;
head[j].onclick = function(event) {
}
list.push({"level": hs[i], "position": head[j].offsetTop, "title": head[j].innerText, "hash": head[j].id}) list.push({"level": hs[i], "position": head[j].offsetTop, "title": head[j].innerText, "hash": head[j].id})
if (head[j].offsetTop > max) { if (head[j].offsetTop > max) {
max = head[j].offsetTop; max = head[j].offsetTop;

View File

@ -23,7 +23,7 @@
} }
pre { pre {
color:white; color:white;
font-size:13px; font-size:14px;
background-color:#272822; background-color:#272822;
padding:5px; padding:5px;
border:solid 2px green; border:solid 2px green;

View File

@ -151,9 +151,8 @@ p {
} }
.number1 { .number1 {
color:#271ace; color:#271ace;
font-size:13px; font-size:14px;
font-family:monospace; font-family:monospace;
line-height:15px;
background-color:#77b724; background-color:#77b724;
padding:5px; padding:5px;
border:solid 2px green; border:solid 2px green;