190 lines
3.5 KiB
CSS
Raw Normal View History

2024-10-31 01:32:52 +08:00
/* 字体 */
:root {
/* font-size: calc(0.5em + 1vw); */
2024-10-31 15:07:34 +08:00
/*font-size: 62.5%;*/
2024-10-31 01:32:52 +08:00
}
/* style sheet for "A4" printing */
@media print and (width: 21cm) and (height: 29.7cm) {
@page {
margin: 3cm;
}
}
/* style sheet for "letter" printing */
@media print and (width: 8.5in) and (height: 11in) {
@page {
margin: 1in;
}
}
* {
/* margin: 1px 2px;
padding: 1px 2px; */
2024-10-31 17:16:43 +08:00
/*font-family: Roboto-Regular, PingFang SC, SF Pro SC, SF Pro Text, SF Pro Icons, Helvetica Neue, Roboto, Helvetica, Arial, sans-serif;*/
2024-10-31 01:32:52 +08:00
outline: none;
/* box-sizing: border-box; */
}
body {
justify-content: center;
/*align-items: center;*/
2024-10-31 17:16:43 +08:00
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", Helvetica, Arial, "Microsoft YaHei", 微软雅黑, 黑体, Heiti, sans-serif, SimSun, 宋体, serif, SourceSansPro;
2024-10-31 01:32:52 +08:00
}
header {
2024-11-01 09:52:52 +08:00
/*position: relative;*/
/*top: 0;*/
/*border: 1px yellow solid;*/
/*!* height: 8rem; *!*/
/*z-index: 9999;*/
/*left: 0;*/
/*right: 0;*/
/*width: 100%;*/
/*响应式*/
/*display: flex;*/
/*flex-direction:column;*/
/*flex-wrap: nowrap;*/
}
main {
display: flex;
flex-direction: column;
align-items: center;
2024-10-31 01:32:52 +08:00
}
#noteshare {
2024-11-01 09:52:52 +08:00
width: 80%;
2024-10-31 01:32:52 +08:00
/* width: 21cm; */
2024-10-31 15:52:17 +08:00
min-height: 2000rem;
2024-10-31 01:32:52 +08:00
/* font-size: 1.5rem; */
/*border: 1px red solid;*/
margin: auto auto;
2024-10-31 15:52:17 +08:00
padding: 100rem 100rem;
/*box-shadow: 0 40rem 80rem rgba(31, 35, 41, 0.1);*/
2024-10-31 15:07:34 +08:00
/*响应式*/
2024-10-31 15:52:17 +08:00
/*display: flex;*/
/*flex-direction:column;*/
/*flex-wrap: nowrap;*/
2024-10-31 01:32:52 +08:00
}
#noteshare p {
/*border: 1px rgb(248, 245, 245) solid;*/
margin: 0 0;
padding: 0 0;
/* border: none; */
2024-10-31 15:07:34 +08:00
/*响应式*/
flex: 1 1 100%;
2024-10-31 01:32:52 +08:00
}
#testInput {
width: 60%;
2024-10-31 15:07:34 +08:00
min-height: 1000rem;
2024-10-31 01:32:52 +08:00
border: 1px rgb(0, 140, 255) solid;
margin: 20px auto;
justify-content: center;
}
::selection {
color: antiquewhite;
background-color: cadetblue;
text-shadow: #00a9ff;
}
.my-divider-item {
2024-10-31 19:01:59 +08:00
background-color: #e9e9eb;
2024-10-31 01:32:52 +08:00
width: 1px;
2024-10-31 19:01:59 +08:00
height: 180rem;
margin: 0 60rem;
2024-10-31 01:32:52 +08:00
}
.childStyleStrong {
font-weight: bold
}
.childStyleI {
font-style: italic;
}
.childStyleU {
text-decoration: underline;
2024-11-01 09:52:52 +08:00
/*/ / 中划线 / / text-decoration: line-through;*/
2024-10-31 01:32:52 +08:00
}
.childStyleDel {
text-decoration: line-through;
}
.childStyleColor {
color: red;
}
.fixStylePosition {
display: none;
position: fixed;
2024-10-31 15:52:17 +08:00
z-index: 99;
2024-10-31 01:32:52 +08:00
width: auto;
2024-11-01 09:52:52 +08:00
/*height: 200rem;*/
2024-10-31 01:32:52 +08:00
2024-11-01 09:52:52 +08:00
padding: 20rem 30rem;
2024-10-31 01:32:52 +08:00
/*padding: 0.6rem 1rem 0.6rem 1rem;*/
justify-content: center;
align-items: center;
align-content: center;
2024-10-31 15:07:34 +08:00
border-radius: 80rem;
2024-10-31 01:32:52 +08:00
border: 1px #dee0e3 solid;
background-color: rgb(255, 255, 255);
/*box-shadow: 0.1rem 0.1rem 0.1rem 0.1rem lightgrey;*/
2024-10-31 15:07:34 +08:00
box-shadow: 0 40rem 80rem rgba(31, 35, 41, 0.1);
2024-10-31 01:32:52 +08:00
}
.fixStyleOut {
/*border: 1px blue solid;*/
margin: 0 0;
width: auto;
2024-11-01 09:52:52 +08:00
/*height: 130rem;*/
/*padding: 20rem 20rem;*/
2024-10-31 01:32:52 +08:00
display: flex;
justify-content: center;
align-items: center;
align-content: center;
}
.fixStyleInnerSpan {
2024-10-31 19:01:59 +08:00
margin: 0 80rem;
2024-10-31 01:32:52 +08:00
}
2024-11-01 09:52:52 +08:00
@media screen and ( max-width: 768px ) {
/*当屏幕尺寸小于768px时应用下面的css样式*/
.fixStylePosition {
display: block;
z-index: 99;
top: 0;
width: 100%;
min-height: 200rem;
margin-bottom: 3rem;
}
body{
top: 1%;
}
#_style_utils svg{
width:400rem;
height:400rem;
margin: 50rem 0;
}
main {
margin-top: 500rem;
}
}