Skip to content

Commit

Permalink
Regular upload
Browse files Browse the repository at this point in the history
  • Loading branch information
zichongxu-ustc committed Oct 4, 2024
1 parent d8e3220 commit e07ccf6
Show file tree
Hide file tree
Showing 45 changed files with 230 additions and 140 deletions.
17 changes: 17 additions & 0 deletions docs/61067744951d9cdb73d7.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@





.container{
margin-right: 200px !important;
}
.table-container{
width: 160px;
background-color: aliceblue;
display: inline-block;
position: absolute;
top:20vh;
right: 20px;
}

11 changes: 4 additions & 7 deletions docs/d9cfbcfc2549dd17d4fe.css → docs/674d33f28592956e72e2.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@
--text-color: #333;
}

ul,
li {
display: block;
margin: 0;
padding: 0;
}

a {
text-decoration: none;
Expand All @@ -101,7 +95,7 @@ a {

.sidebar-for-window {
/* flex:0 1 200px; */
position: absolute;
position: fixed;
display: flex;
top: 0;
left: 0;
Expand All @@ -124,6 +118,9 @@ a {
text-align: center;
line-height: 50px;
margin: 0;
display: block;
margin: 0;
padding: 0;
}


Expand Down
5 changes: 0 additions & 5 deletions docs/87628c7fd3f5cafa0d98.css

This file was deleted.

2 changes: 1 addition & 1 deletion docs/Reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>
2 changes: 1 addition & 1 deletion docs/attribution.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="future.31d6cfe0d16ae931b73c.js"></script><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="future.31d6cfe0d16ae931b73c.js"></script><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>
2 changes: 1 addition & 1 deletion docs/background.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>
2 changes: 1 addition & 1 deletion docs/design.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>
2 changes: 1 addition & 1 deletion docs/discussion.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>
22 changes: 15 additions & 7 deletions docs/42f4a51afd40a17f3b78.css → docs/ee3829554cf52637f012.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.container {
display: block;
transition: all .3s ease;
flex: 1;
margin: 20px 20px;
/* flex: 1; */
margin-top: 20px;
margin-right: 20px;
margin-bottom: 20px;
margin-left: calc(var(--sidebar-width) + 20px);
align-items: center;
min-width: 200px;
Expand All @@ -15,19 +17,25 @@
border-radius: 5px;
box-shadow: 0px 0px 4px 0px #000;
display: grid;
word-wrap: break-word;
overflow-wrap: break-word;
/* overflow: auto; */
}

.img {
display: inline-block;
margin: 10px;
}

.text>p {
.text>pre {
height: auto;
font-family: inherit;
/* width: 100%; */
word-wrap: break-word;
white-space: normal;
}

ol {
list-style-position: inside;
}
.img>img{
height: 100px;
width: 100px;

}
1 change: 0 additions & 1 deletion docs/index.467fddf04b66f2f1dafe.js

This file was deleted.

2 changes: 2 additions & 0 deletions docs/index.5e4e5533b1e9fdb880d4.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="index.467fddf04b66f2f1dafe.js"></script><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="87628c7fd3f5cafa0d98.css" rel="stylesheet"><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="index.5e4e5533b1e9fdb880d4.js"></script><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="61067744951d9cdb73d7.css" rel="stylesheet"><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/members.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="member.76078ce3fa1ac8853406.js"></script><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="836e23d22ddda2af6b8d.css" rel="stylesheet"><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="member.ecdc84516adce0bb44f7.js"></script><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="836e23d22ddda2af6b8d.css" rel="stylesheet"><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>
2 changes: 1 addition & 1 deletion docs/notebook.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>
2 changes: 1 addition & 1 deletion docs/protocols.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>
2 changes: 1 addition & 1 deletion docs/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>
2 changes: 1 addition & 1 deletion docs/results.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>
2 changes: 1 addition & 1 deletion docs/safety.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/supplementary-information.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
body{
transition: all .3s ease;
background-color: #848484;
}</style><script defer="defer" src="sidebar.ffc327b4895a4f02ffaf.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="d9cfbcfc2549dd17d4fe.css" rel="stylesheet"><link href="42f4a51afd40a17f3b78.css" rel="stylesheet"></head><body>hello</body></html>
}</style><script defer="defer" src="sidebar.4f785be58b21678fe15a.js"></script><script defer="defer" src="textboxcss.31d6cfe0d16ae931b73c.js"></script><link href="674d33f28592956e72e2.css" rel="stylesheet"><link href="ee3829554cf52637f012.css" rel="stylesheet"></head><body>hello</body></html>
14 changes: 14 additions & 0 deletions example.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import exampleimage from "./image/examplephoto.png";
const example = {
title1: [
{
subtitle: "subtitle1",
text: "text1",
},
{ ollist: [{ text: "Li1" }, { text: "Li2" }] },
{ src: exampleimage, text: "imagetext", image_name: "world" },
],
title2: [{ ollist: [{ text: "Li1" }, { text: "Li2" }, { text: "Li3" }] }],
title3: [{ src: "nihc", text: "imagetext", image_name: "world" }],
};
export default example;
22 changes: 19 additions & 3 deletions src/pages/index/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@

import "@src/pages/index/index.css";
import textboxcreate from "@src/textbox/textbox.js";
import indextext from "@pages/index/indextext.json";
import indextext from "@pages/index/indextext.js";
import tableCreate from "@src/table/table.js";
import "@src/table/table.css";
textboxcreate(indextext);
new tableCreate(indextext).$mount({ target: document.body });
// $("a[href^='#']").on("click", function (event) {
// event.preventDefault(); // 阻止默认的跳转行为

// // 获取 href 的值,即目标元素的 ID
// var target = this.hash;
// var $target = $(target);

textboxcreate(indextext);
// // 执行动画,滚动到目标元素的位置
// $("html, body").animate(
// {
// scrollTop: $target.offset().top,
// },
// 800
// );
// });
14 changes: 14 additions & 0 deletions src/pages/index/indextext.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import exampleimage from "@src/memberbox/memberphoto/88C945C1A34B5B141B5CE0CB86013657.jpg";
const indextext = {
title1: [
{
subtitle: "subtitle1",
text: "text1",
},
{ ollist: [{ text: "Li1" }, { text: "Li2" }] },
{ src: exampleimage, text: "imagetext", image_name: "world" },
],
title2: [{ ollist: [{ text: "Li1" }, { text: "Li2" }, { text: "Li3" }] }],
title3: [{ src: exampleimage, text: "imagetext", image_name: "world" }],
};
export default indextext;
13 changes: 0 additions & 13 deletions src/pages/index/indextext.json

This file was deleted.

11 changes: 4 additions & 7 deletions src/sidebar/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@
--text-color: #333;
}

ul,
li {
display: block;
margin: 0;
padding: 0;
}

a {
text-decoration: none;
Expand All @@ -31,7 +25,7 @@ a {

.sidebar-for-window {
/* flex:0 1 200px; */
position: absolute;
position: fixed;
display: flex;
top: 0;
left: 0;
Expand All @@ -54,6 +48,9 @@ a {
text-align: center;
line-height: 50px;
margin: 0;
display: block;
margin: 0;
padding: 0;
}


Expand Down
2 changes: 1 addition & 1 deletion src/sidebar/sidebar.eft
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
>div.checkbox
>div.logo
>a
#href=home.html
#href=index.html
.USTC 2024
>div.search-box
>div.nano.sidebar-contain
Expand Down
15 changes: 0 additions & 15 deletions src/sidebar/sidebarlist.js

This file was deleted.

11 changes: 11 additions & 0 deletions src/table/table.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.container{
margin-right: 200px !important;
}
.table-container{
width: 160px;
background-color: aliceblue;
display: inline-block;
position: absolute;
top:20vh;
right: 20px;
}
3 changes: 3 additions & 0 deletions src/table/table.eft
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
>div.table-container
>div.table
+list
Loading

0 comments on commit e07ccf6

Please sign in to comment.