-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (95 loc) · 2.88 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Abstract Layer Docs</title>
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
<link rel="icon" type="image/png" sizes="64x64" href="favicon.png">
</head>
<style>
.right-note {
border-right: 8px solid rgb(81,148,220);
background-color: rgb(248,248,248);
padding: 7px;
font-weight:800;
font-size:18px;
float: right;
color: rgb(81,148,220);
}
.regular-note {
border-left: 4px solid rgb(81,148,220);
background-color: rgb(248,248,248);
padding: 7px;
}
.important-note {
border-left: 4px solid rgb(231,105,30);
background-color: rgb(250,220,210);
padding: 7px;
}
</style>
<body>
<div id="app"></div>
</body>
<script>
window.$docsify = {
name: 'Abstract Layer',
loadSidebar: true,
themeColor: '#4e92df',
search: 'auto',
auto2top: true
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script>
<script>
function showSwift() {
var x = document.getElementsByClassName('swiftDIV');
var y = document.getElementsByClassName('objcDIV');
for(var i = 0; i < x.length; i++) {
x[i].style.display = 'block';
}
for(var i = 0; i < y.length; i++) {
y[i].style.display = 'none';
}
var swiftButton = document.getElementsByClassName('swiftButton');
for(var i = 0; i < swiftButton.length; i++) {
swiftButton[i].style.color = 'rgb(81,148,220)';
swiftButton[i].style.fontWeight = 600;
}
var objcButton = document.getElementsByClassName('objcButton');
for(var i = 0; i < objcButton.length; i++) {
objcButton[i].style.color = 'darkGray';
objcButton[i].style.fontWeight = 'normal';
}
}
function showObjc() {
var x = document.getElementsByClassName('swiftDIV');
var y = document.getElementsByClassName('objcDIV');
for(var i = 0; i < x.length; i++) {
x[i].style.display = 'none';
}
for(var i = 0; i < y.length; i++) {
y[i].style.display = 'block';
}
var swiftButton = document.getElementsByClassName('swiftButton');
for(var i = 0; i < swiftButton.length; i++) {
swiftButton[i].style.color = 'darkGray';
swiftButton[i].style.fontWeight = 'normal';
}
var objcButton = document.getElementsByClassName('objcButton');
for(var i = 0; i < objcButton.length; i++) {
objcButton[i].style.color = 'rgb(81,148,220)';
objcButton[i].style.fontWeight = 600;
}
}
</script>
<style type="text/css">
.row-text {
width: 33%;
vertical-align:top;
}
</style>
</html>