2024.11.17

This commit is contained in:
He
2024-11-17 18:25:53 +08:00
parent 1807b48492
commit ecf7dd1fd9
11 changed files with 1020 additions and 1 deletions

View File

@@ -1 +1,3 @@
# coding-box # Code saving Repo
一些不用的代码会保存在这里

88
backboard-oa.html Normal file
View File

@@ -0,0 +1,88 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spircape 工作台</title>
<link rel="icon" type="image/png" href="https://qin.zh.yuazhi.cn/66a390533ee9c.png">
<style>
body, html {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
background-color: #eaffd0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-size: cover;
background-position: center;
/*background-image: url('https://bu.dusays.com/2024/06/28/667e6853e873c.jpg'); /* 背景图片的路径 */
}
.overlay {
/*background-color: rgba(0, 0, 0, 0.5); /* 半透明遮罩 */
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 0;
}
.container {
text-align: center;
background-color: rgba(255, 255, 255, 0.9); /* 半透明背景 */
padding: 50px;
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
max-width: 600px;
width: 100%;
z-index: 1;
position: relative;
}
h1 {
margin-bottom: 40px;
font-size: 2.8em;
color: #333;
font-weight: bold;
}
.links {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.link-item {
background-color: #ff9700;
color: white;
padding: 20px;
border-radius: 12px;
text-decoration: none;
font-size: 1.3em;
font-weight: bold;
transition: background-color 0.3s, transform 0.3s;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.link-item:hover {
background-color: #e68900;
transform: translateY(-3px);
}
</style>
</head>
<body>
<div class="overlay"></div>
<div class="container">
<h1 style="font-size: 3rem;"><center>创作不断 创意无限</center></h1>
<div class="links">
<a href="https://microsoft365.com/onedrive" class="link-item">Microsoft</a>
<a href="https://outlook.cloud.microsoft" class="link-item">Outlook</a>
<a href="https://kgthe032.feishu.cn/" class="link-item">飞书</a>
<a href="https://www.kdocs.cn/" class="link-item">金山文档</a>
</div>
</div>
</body>
</html>

118
color-oa.html Normal file
View File

@@ -0,0 +1,118 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spircape 工作台</title>
<link rel="icon" type="image/png" href="https://qin.zh.yuazhi.cn/66a390533ee9c.png">
<style>
@font-face {
font-family: 'Source Han Sans';
src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');
}
body, html {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #e0f7fa; /* 更加柔和的背景色 */
font-family: 'Source Han Sans', sans-serif;
}
.container {
width: 100%;
max-width: 600px; /* 限制容器最大宽度 */
padding: 30px;
background-color: #ffffff;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 增加阴影效果 */
border-radius: 8px; /* 圆角 */
text-align: center; /* 使内容居中 */
}
h1 {
font-size: 2.8em;
color: #00796b; /* 更有活力的颜色 */
margin-bottom: 20px;
}
p {
font-size: 1.3em;
color: #607d8b;
margin-bottom: 40px;
}
.button-container {
display: flex;
flex-direction: column;
gap: 15px; /* 按钮之间的间距 */
}
.button-container a {
padding: 14px;
font-size: 1.1em;
color: #ffffff;
background-color: #00796b;
border: none;
border-radius: 4px;
text-align: center;
text-decoration: none;
transition: background-color 0.3s, transform 0.3s;
}
.button-container a:hover {
background-color: #004d40;
transform: translateY(-2px); /* 悬停时轻微上移效果 */
}
@media (min-width: 768px) {
h1 {
font-size: 3.2em;
}
p {
font-size: 1.5em;
}
.button-container {
flex-direction: row;
flex-wrap: wrap;
gap: 20px;
}
.button-container a {
flex: 1 1 calc(50% - 20px);
font-size: 1.2em;
}
}
@media (min-width: 1024px) {
h1 {
font-size: 3.5em;
}
p {
font-size: 1.6em;
}
.container {
padding: 40px;
}
}
</style>
</head>
<body>
<div class="container">
<h1>创作不断<br>创意无限</h1>
<p>从这里出发,与我们共同创造更美好的明天</p>
<div class="button-container">
<a href="https://myapps.microsoft.com/">Microsoft</a>
<a href="https://outlook.cloud.microsoft">Outlook</a>
<a href="https://kgthe032.feishu.cn/">飞书</a>
<a href="https://www.kdocs.cn/">金山文档</a>
</div>
</div>
</body>
</html>

2
homepage-main/README.md Normal file
View File

@@ -0,0 +1,2 @@
# spircape
我的实验室网站主页,本网站在鸢栀模板的基础上,删增了一些内容,非常感谢

2
homepage-main/core.js Normal file

File diff suppressed because one or more lines are too long

316
homepage-main/index.html Normal file
View File

@@ -0,0 +1,316 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spircape</title>
<link rel="icon" type="image/png" href="https://zh.yuazhi.cn/66a390533ee9c.png">
<style>
@font-face {
font-family: 'CustomFont';
/* src: url('https://qin.zh.yuazhi.cn/st/MiSans-Medium.woff2') format('woff2'); */
font-weight: normal;
font-style: normal;
}
html,
body {
height: 100%;
margin: 0;
overflow: hidden;
font-family: 'CustomFont', Arial, sans-serif;
background-color: #f4f4f4;
color: #000;
}
.dark-mode {
background-color: #222;
color: #fff;
}
.hero-section {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: url('your-background-image.jpg') no-repeat center center/cover;
position: fixed; /* Changed from relative to fixed */
top: 50%; /* Centering vertically */
left: 50%; /* Centering horizontally */
transform: translate(-50%, -50%); /* Adjusting for the center */
text-align: center;
box-sizing: border-box;
}
h1 {
font-size: 5em;
margin: 0;
white-space: nowrap;
}
.scroll-down {
position: fixed;
top: 20px;
left: 20px;
font-size: 1.5em;
color: #000;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
transition: transform 0.2s ease;
}
@keyframes float {
0% {
transform: translateY(0);
}
50% {
transform: translateY(10px);
}
100% {
transform: translateY(0);
}
}
.scroll-down.feedback {
animation: feedback 0.4s ease-out;
}
@keyframes feedback {
0% {
transform: scale(1);
}
50% {
transform: scale(0.9);
}
100% {
transform: scale(1);
}
}
.marquee {
width: 100%;
overflow: hidden;
white-space: nowrap;
box-sizing: border-box;
background-color: #ffd500;
/* 背景颜色和字体颜色 */
color: #fff;
padding: 10px 0;
position: fixed;
/* 固定在页面顶部 */
top: 0;
left: 0;
z-index: 1000;
/* 确保在其他内容上方 */
}
.marquee-content {
display: inline-block;
white-space: nowrap;
padding-left: 100%;
animation: marquee 90s linear infinite;
font-size: 1.2em;
font-weight: bold;
/* 使字体加粗 */
/* 为了确保浏览器兼容性,添加前缀 */
-webkit-animation: marquee 90s linear infinite;
-moz-animation: marquee 90s linear infinite;
-o-animation: marquee 90s linear infinite;
-ms-animation: marquee 90s linear infinite;
}
@keyframes marquee {
from {
transform: translateX(0);
}
to {
transform: translateX(-100%);
}
}
footer {
background-color: #ffd500;
color: #fff;
padding: 13px;
text-align: center;
position: relative;
overflow: hidden;
}
footer a {
color: #000000;
text-decoration: none;
margin: 0 10px;
transition: transform 0.3s ease;
}
footer a:hover {
transform: translateX(5px);
}
.contact-info {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #e0e0e0;
padding: 20px;
box-sizing: border-box;
text-align: center;
color: #000;
}
.contact-info p {
margin: 10px 0;
font-size: 1.2em;
}
@media (max-width: 600px) {
h1 {
font-size: 3em;
}
}
.highlight {
color: #00B0F0;
}
.website {
color: #9369c2;
}
.website a {
color: #9369c2;
text-decoration: none;
}
.website a:hover {
color: #2ecc71;
}
.email {
color: #2ecc71;
}
.rsn {
color: #1d29d0;
}
.qq {
color: #e31215;
}
.nihao {
color: #2ecc71;
}
.non-clickable {
cursor: default;
}
.contact-label {
color: #000;
}
a {
text-decoration: none;
color: #007bff;
transition: color 0.6s ease;
}
a:hover {
color: #fcfcfc;
}
.slash {
color: #000;
}
.namek {
color: #ff9700;
}
</style>
<style>
/* ... (previous CSS styles) ... */
/* Add this footer style */
footer {
color: #000000;
padding: 13px;
text-align: center;
position: absolute;
bottom: 0;
width: 100%;
/* Make the background transparent */
background-color: transparent;
/* New styles for centering the text within the footer */
display: flex;
justify-content: center;
align-items: center;
margin-top: -150px;
}
</style>
<div class="hero-section">
<h1 id="typewriter"></h1>
</div>
<script src="core.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
var darkModeMediaQuery = window.matchMedia('(prefers-color-scheme: dark)');
var isDarkMode = darkModeMediaQuery.matches;
if (isDarkMode) {
document.body.classList.add('dark-mode');
}
var typewriter = new Typewriter('#typewriter', {
loop: true,
delay: 150,
});
typewriter
.typeString('<span class="nihao">你好呀~</span>')
.pauseFor(1000)
.deleteAll()
.typeString('这里是<br><span class="highlight">Spircape 灵境</span>')
.pauseFor(1000)
.deleteAll()
.typeString('<span class="rsn">虚中有实</span>')
.pauseFor(1000)
.deleteAll()
.typeString('<span class="namek">实中有虚</span>')
.pauseFor(1000)
.deleteAll()
.typeString('更多信息见<br> <span class="website"><a href="https://github.com/Spircape" target="_blank">Github</a></span>')
.pauseFor(1000)
.deleteAll()
.typeString('✨请多多关照~')
.pauseFor(1000)
.deleteAll()
.start();
});
</script>
<body>
<!-- ... (rest of your HTML content) ... -->
<!-- Add this footer -->
<footer>
By Spircape. All rights reserved.
</footer>
</body>
</body>
</html>

134
two sides-oa/index_he.html Normal file
View File

@@ -0,0 +1,134 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spircape 工作台</title>
<link rel="icon" type="image/png" href="https://qin.zh.yuazhi.cn/66a390533ee9c.png">
<style>
@font-face {
font-family: 'Source Han Sans';
src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');
}
body, html {
margin: 0;
padding: 0;
display: flex;
height: 100vh;
background-color: #f5f5f5;
}
.container {
display: flex;
width: 100%;
height: 100%;
}
.text-section {
flex: 2;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 40px;
background-color: #fff;
}
.text-section h1 {
font-size: 2.5em;
color: #333;
margin-bottom: 20px;
}
.text-section p {
font-size: 1.2em;
color: #777;
margin-bottom: 40px;
}
.text-section .button-container {
display: flex;
flex-direction: column;
gap: 15px; /* 按钮之间的间距 */
}
.text-section .button-container a {
padding: 12px;
font-size: 1em;
color: #333;
border: 2px solid #333;
text-align: center;
text-decoration: none;
transition: background-color 0.3s, color 0.3s;
}
.text-section .button-container a:hover {
background-color: #ff9700;
color: #fff;
border-color: #ff9700;
}
.image-section {
background-image: url(https://bu.dusays.com/2024/06/28/667e6853e873c.jpg);
background-attachment: fixed;
background-size: cover;
background-color: #464646;
display: none; /* 在手机端隐藏图片部分 */
}
@media (min-width: 768px) {
.text-section h1 {
font-size: 3.5em;
}
.text-section p {
font-size: 1.5em;
}
.text-section .button-container {
flex-direction: row;
flex-wrap: wrap;
gap: 20px;
}
.text-section .button-container a {
flex: 1 1 calc(50% - 20px);
font-size: 1.2em;
}
.image-section {
display: block; /* 只在平板及以上设备显示图片部分 */
}
}
@media (min-width: 1024px) {
.text-section {
padding: 0 60px;
}
.text-section h1 {
font-size: 4em;
}
.text-section p {
font-size: 1.8em;
}
}
</style>
</head>
<body>
<div class="container">
<div class="text-section">
<h1><center>创作不断<br>创意无限</center></h1>
<p>从这里出发,与我们共同创造更美好的明天</p>
<div class="button-container">
<a href="https://microsoft365.com/onedrive">Microsoft</a>
<a href="https://outlook.cloud.microsoft">Outlook</a>
<a href="https://kgthe032.feishu.cn/">飞书</a>
<a href="https://www.kdocs.cn/">金山文档</a>
</div>
</div>
<div class="image-section"></div>
</div>
</body>
</html>

View File

@@ -0,0 +1,74 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spircape工作台</title>
<link rel="icon" href="https://bu.dusays.com/2024/07/13/66929d307adb9.png">
<style>
body {
font-family: 'Source-Han-Sans', Arial, sans-serif;
line-height: 1.3;
margin: 0;
padding: 0;
}
.container {
display: flex;
width: 320px;
background-color: #f6f8f9;
padding: 40px;
}
.text-section .button-container a:hover {
background-color: #ff9700;
color: #fff;
border-color: #ff9700;
}
.text-section .button-container {
display: flex;
flex-direction: column;
gap: 15px; /* 按钮之间的间距 */
}
.text-section .button-container a {
padding: 16px;
font-size: 1em;
color: #333;
border: 2px solid #333;
text-align: center;
text-decoration: none;
transition: background-color 0.3s, color 0.3s;
}
body {
background-image: url('https://bu.dusays.com/2024/06/28/667e6853e873c.jpg');
background-repeat: no-repeat;
background-position: right top;
background-size: cover;
}
</style>
</head>
<body>
<div class="container">
<div class="text-section">
<p style="color:#f6f8f9; font-size: 2rem;">a</p>
<h1 style="font-size: 3rem;"><center>创作不断<br>创意无限</center></h1>
<p>从这里出发,与我们共同创造更美好的明天</p>
<div class="button-container">
<a href="https://microsoft365.com/onedrive">Microsoft</a>
<a href="https://outlook.cloud.microsoft">Outlook</a>
<a href="https://kgthe032.feishu.cn/">飞书</a>
<a href="https://www.kdocs.cn/">金山文档</a>
</div>
<p style="color:#f6f8f9; font-size: 3rem;">a<br>a</p>
</div>
<div>
</div>
<!--<div class="image-section"></div>-->
</div>
</body>

131
workplace-nobutton.html Normal file
View File

@@ -0,0 +1,131 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spircape 工作台</title>
<link rel="icon" type="image/png" href="https://qin.zh.yuazhi.cn/66a390533ee9c.png">
<style>
@font-face {
font-family: 'Source Han Sans';
src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');
}
body, html {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Source Han Sans', sans-serif;
}
body::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url('https://qin.zh.yuazhi.cn/oasun.jpg'); /* 使用图片作为背景 */
background-size: cover; /* 让背景图像覆盖整个背景 */
background-position: center; /* 将背景图像居中 */
background-color: rgba(0, 0, 0, 0.4); /* 添加半透明的黑色遮罩层 */
z-index: -1; /* 将背景层置于内容层下 */
}
.container {
width: 100%;
max-width: 600px; /* 限制容器最大宽度 */
padding: 30px;
background-color: rgba(255, 255, 255, 0.9); /* 添加透明度以允许背景稍微透过 */
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 增加阴影效果 */
border-radius: 8px; /* 圆角 */
text-align: center; /* 使内容居中 */
}
h1 {
font-size: 2.5em;
color: #00796b; /* 更有活力的颜色 */
margin-bottom: 20px;
}
p {
font-size: 1.2em;
color: #607d8b;
margin-bottom: 30px;
}
.button-container {
display: flex;
flex-direction: column;
gap: 15px; /* 按钮之间的间距 */
}
.button-container a {
padding: 14px;
font-size: 1.1em;
color: #ffffff;
background-color: #00796b;
border: none;
border-radius: 4px;
text-align: center;
text-decoration: none;
transition: background-color 0.3s, transform 0.3s;
}
.button-container a:hover {
background-color: #004d40;
transform: translateY(-2px); /* 悬停时轻微上移效果 */
}
@media (min-width: 768px) {
h1 {
font-size: 3em;
}
p {
font-size: 1.4em;
}
.button-container {
flex-direction: row;
flex-wrap: wrap;
gap: 20px;
}
.button-container a {
flex: 1 1 calc(50% - 20px);
font-size: 1.2em;
}
}
@media (min-width: 1024px) {
h1 {
font-size: 3.3em;
}
p {
font-size: 1.5em;
}
.container {
padding: 40px;
}
}
</style>
</head>
<body>
<div class="container">
<h1>创作不断<br>创意无限</h1>
<p>实现对互联世界的无缝访问</p>
<div class="button-container">
<a href="https://my.spircape.cn">Microsoft</a>
<a href="https://mail.zoho.com/zm">Zoho</a>
<a href="https://www.kdocs.cn/">金山文档</a>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1 @@
# workplaces

View File

@@ -0,0 +1,151 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spircape 工作台</title>
<link rel="icon" type="image/png" href="https://zh.yuazhi.cn/66a390533ee9c.png">
<style>
@font-face {
font-family: 'Source Han Sans';
src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');
}
body, html {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Source Han Sans', sans-serif;
}
body::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url('https://zh.yuazhi.cn/oasun.jpg'); /* 使用图片作为背景 */
background-size: cover; /* 让背景图像覆盖整个背景 */
background-position: center; /* 将背景图像居中 */
background-color: rgba(0, 0, 0, 0.4); /* 添加半透明的黑色遮罩层 */
z-index: -1; /* 将背景层置于内容层下 */
}
.container {
width: 100%;
max-width: 600px; /* 限制容器最大宽度 */
padding: 30px;
background-color: rgba(255, 255, 255, 0.9); /* 添加透明度以允许背景稍微透过 */
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 增加阴影效果 */
border-radius: 8px; /* 圆角 */
text-align: center; /* 使内容居中 */
}
h1 {
font-size: 2.5em;
color: #00796b; /* 更有活力的颜色 */
margin-bottom: 20px;
}
p {
font-size: 1.2em;
color: #607d8b;
margin-bottom: 30px;
}
.button-container {
display: flex;
flex-direction: column;
gap: 15px; /* 按钮之间的间距 */
}
.button-container a {
padding: 14px;
font-size: 1.1em;
color: #ffffff;
background-color: #00796b;
border: none;
border-radius: 4px;
text-align: center;
text-decoration: none;
transition: background-color 0.3s, transform 0.3s;
}
.button-container a:hover {
background-color: #004d40;
transform: translateY(-2px); /* 悬停时轻微上移效果 */
}
.oa-button {
position: absolute;
top: 10px;
right: 10px;
padding: 10px 20px;
font-size: 0.9em;
color: #ffffff;
background-color: #00796b; /* 按钮的背景颜色 */
border: none;
border-radius: 4px;
text-decoration: none;
transition: background-color 0.3s, transform 0.3s;
}
.oa-button:hover {
background-color: #004d40;
transform: translateY(-2px);
}
@media (min-width: 768px) {
h1 {
font-size: 3em;
}
p {
font-size: 1.4em;
}
.button-container {
flex-direction: row;
flex-wrap: wrap;
gap: 20px;
}
.button-container a {
flex: 1 1 calc(50% - 20px);
font-size: 1.2em;
}
}
@media (min-width: 1024px) {
h1 {
font-size: 3.3em;
}
p {
font-size: 1.5em;
}
.container {
padding: 40px;
}
}
</style>
</head>
<body>
<a href="https://docs.spircape.cn/" class="oa-button">OA 文档</a> <!-- 右上角的按钮 -->
<div class="container">
<h1>创作不断<br>创意无限</h1>
<p>实现对互联世界的无缝访问</p>
<div class="button-container">
<a href="https://my.spircape.cn">Microsoft</a>
<a href="https://spircape.sg.larksuite.com">Lark</a>
<a href="https://www.kdocs.cn/">金山文档</a>
</div>
</div>
</body>
</html>