mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 09:14:06 +08:00
mac mod font-size
This commit is contained in:
parent
3551263347
commit
a1fd40c2a7
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user