File tree Expand file tree Collapse file tree 3 files changed +104
-0
lines changed Expand file tree Collapse file tree 3 files changed +104
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ <!-- 元信息 -->
5
+ < meta charset ="UTF-8 " />
6
+ < title > 引思网卡片库用户界面(Hintsnet UI)</ title >
7
+ </ head >
8
+ < body >
9
+ <!-- 脚本引用 -->
10
+ < script src ="scripts/index.js "> </ script >
11
+ <!-- 主要内容框架 -->
12
+ < div id ="hyper_whiteboard ">
13
+ < div id ="global_view_area "> </ div >
14
+ < div id ="focus_tracking_area ">
15
+ < div id ="backtracking_links "> </ div >
16
+ < div id ="current_focus_card "> </ div >
17
+ < div id ="heuristic_links "> </ div >
18
+ </ div >
19
+ < div id ="ref_cards_area "> </ div >
20
+ </ div >
21
+ <!-- 样式表引用 -->
22
+ < link rel ="stylesheet " href ="styles/index.css ">
23
+ </ body >
24
+ </ html >
Original file line number Diff line number Diff line change
1
+ /*
2
+ * index.js
3
+ */
4
+
5
+ console . log ( "JavaScript is amazing!" ) ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * index.css
3
+ */
4
+
5
+ // 设定元素的 width 时,把元素的边界 border 和空白填充量 padding 考虑在内
6
+ * {
7
+ -webkit-box-sizing : border-box;
8
+ -moz-box-sizing : border-box;
9
+ box-sizing : border-box;
10
+ }
11
+
12
+ html , body {
13
+ margin : 0 0 0 0 ;
14
+ background-color : gray;
15
+ }
16
+
17
+ # hyper_whiteboard {
18
+ display : block;
19
+ margin : 0 0 0 0 ;
20
+ border : 1px dotted rgba (0 , 0 , 0 , 0 );
21
+ width : 99vw ;
22
+ height : 99vh ;
23
+ }
24
+
25
+ # global_view_area {
26
+ margin : 2vh auto 5vh auto;
27
+ width : 40vw ;
28
+ height : 1vh ;
29
+ display : block;
30
+ border-radius : 5px ;
31
+ background-color : rgba (255 , 255 , 85 , 0.7 );
32
+ }
33
+
34
+ # focus_tracking_area {
35
+ margin : 5vh auto 2vh auto;
36
+ width : 80vw ;
37
+ height : 70vh ;
38
+ display : block;
39
+ border-radius : 5px ;
40
+ background-color : rgba (255 , 255 , 85 , 0.5 );
41
+ }
42
+
43
+ # backtracking_links {
44
+ margin : 2vh 1.5vw 2vh 1.5vw ;
45
+ width : 12vw ;
46
+ height : 66vh ;
47
+ float : left;
48
+ background-color : rgba (255 , 55 , 85 , 0.2 );
49
+ }
50
+
51
+ # current_focus_card {
52
+ margin : 3vh 0 3vh 0 ;
53
+ width : 50vw ;
54
+ height : 64vh ;
55
+ float : left;
56
+ border-radius : 5px ;
57
+ background-color : rgba (255 , 255 , 85 , 0.4 );
58
+ }
59
+
60
+ # heuristic_links {
61
+ margin : 2vh 1.5vw 2vh 1.5vw ;
62
+ width : 12vw ;
63
+ height : 66vh ;
64
+ float : left;
65
+ background-color : rgba (255 , 55 , 85 , 0.2 );
66
+ }
67
+
68
+ # ref_cards_area {
69
+ margin : 1vh auto 2vh auto;
70
+ width : 75vw ;
71
+ height : 16vh ;
72
+ display : block;
73
+ background-color : rgba (155 , 255 , 205 , 0.2 );
74
+ }
75
+
You can’t perform that action at this time.
0 commit comments