table {
border-collapse: collapse;
}
th {
background-color: var(--info);
}
td,
th {
border: 1px solid #b9b8b8;
text-align: left;
padding: 8px;
}
tr:nth-child(odd) {
background-color: var(--table);
}
.text-title {
font-size: clamp(2em, 5vw, 3em);
font-family: cursive;
font-weight: 600;
color: var(--primary);
line-height: 1.2em;
margin: 0.5em 0;
}
.text-head {
font-size: clamp(1.5em, 4vw, 2rem);
font-family: cursive;
font-weight: 600;
color: var(--secondary);
line-height: 1.2em;
margin: 0.5em 0;
}
h1 {
font-size: clamp(1.7em, 4.5vw, 2.5em);
font-family: cursive;
font-weight: 600;
color: var(--primary);
line-height: 1.2em;
margin: 0.5em 0;
}
h2 {
font-size: clamp(1.5em, 4vw, 2rem);
font-family: cursive;
font-weight: 700;
color: var(--secondary);
line-height: 1.2em;
margin: 0.5em 0;
}
h3 {
font-size: clamp(1.3em, 3.5vw, 1.75rem);
font-family: cursive;
font-weight: 800;
color: var(--primary);
line-height: 1.2em;
margin: 0.5em 0;
padding-left: 0.5em;
border-bottom: 1px solid lightgray;
border-left: 5px solid var(--primary);
}
h4 {
font-size: clamp(1.2em, 2.5vw, 1.5rem);
font-family: cursive;
font-weight: 800;
color: var(--secondary);
line-height: 1.2em;
margin: 0.5em 0;
}
a {
text-decoration: underline;
color: var(--link);
font-size: 1em;
font-style: italic;
}
a:hover {
color: var(--danger);
}
.success {
color: var(--success);
font-weight: 800;
}
.callout-tip {
border: 1px solid lightgray;
border-left: 5px solid var(--info);
border-radius: 2px;
font-weight: 400;
padding: 0.75em;
background: #f0feff;
}
.callout-tip::before {
font-weight: 900;
content: "提示";
font-size: 1.2em;
color: var(--info);
}
.callout-warning {
border: 1px solid lightgray;
border-left: 5px solid var(--warning);
border-radius: 2px;
font-weight: 400;
padding: 0.75em;
background: #fcf8db;
}
.callout-warning::before {
font-weight: 900;
content: "注意";
font-size: 1.2em;
color: var(--warning);
}
.callout-danger {
border: 1px solid lightgray;
border-left: 5px solid var(--danger);
border-radius: 2px;
font-weight: 400;
padding: 0.75em;
background: #ffeaea;
}
.callout-danger::before {
font-weight: 900;
content: "危險";
font-size: 1.2em;
color: var(--danger);
}
.quoted {
font-family: Georgia;
font-size: 1.1em;
display: block;
margin: 14px 0 0 0;
font-style: italic;
font-weight: 600;
color: #797979;
line-height: 1.75;
}
.quoted::before {
/* content: "“"; */
content: "''";
font-size: 1.5em;
color: #999;
line-height: 1;
display: inline-block;
margin: 0 6px 0 0;
}
.quoted::after {
/* content: " ”"; */
content: "''";
font-size: 1.5em;
color: #999;
line-height: 1;
display: inline-block;
margin: 0 0 0 4px;
}
.border {
border: 2px solid #c9c6c6;
border-radius: 2px;
background-color: var(--table);
padding: .5rem;
}
.border-primary {
border: 2px solid var(--primary);
border-radius: 2px;
background-color: var(--table);
padding: .5rem;
}
.border-secondary {
border: 2px solid var(--secondary);
border-radius: 2px;
background-color: var(--table);
padding: .5rem;
}
.border-success {
border: 2px solid var(--success);
border-radius: 2px;
background-color: var(--table);
padding: .5rem;
}
.mycollapsible {
cursor: pointer;
border: none;
border-bottom: 1px solid var(--border-color);
text-align: left;
outline: none;
padding: 0.5em 0;
border-radius: 2px;
font-weight: bold;
}
.active-collapsible,
.mycollapsible:hover {
background-color: var(--table);
}
.mycollapsible:after {
content: '\002B';
color: var(--primary);
font-weight: bold;
float: right;
padding: 0 1em;
}
.active-collapsible:after {
content: "\2212";
color: var(--primary);
font-weight: bold;
}
.contentcollapsible {
max-height: 0;
overflow: hidden;
-webkit-transition: max-height 0.5s ease-out;
transition: max-height 0.5s ease-out;
background-color: var(--light);
}
.m-1 {
margin: 1em;
}
.mx-1 {
margin: 1em 1em;
}
.my-1 {
margin: 1em 1em;
}
.p-1 {
padding: 1em;
}
.px-1 {
padding: 1em 1em;
}
.py-1 {
padding: 1em 1em;
}
.m-2 {
margin: 2em;
}
.mx-2 {
margin: 1em 2em;
}
.my-2 {
margin: 2em 1em;
}
.p-2 {
padding: 2em;
}
.px-2 {
padding: 1em 2em;
}
.py-2 {
padding: 2em 1em;
}
.m-3 {
margin: 3em;
}
.mx-3 {
margin: 1em 3em;
}
.my-3 {
margin: 3em 1em;
}
.p-3 {
padding: 3em;
}
.px-3 {
padding: 1em 3em;
}
.py-3 {
padding: 3em 1em;
}
.m-4 {
margin: 4em;
}
.mx-4 {
margin: 1em 4em;
}
.my-4 {
margin: 4em 1em;
}
.p-4 {
padding: 4em;
}
.px-4 {
padding: 1em 4em;
}
.py-4 {
padding: 4em 1em;
}
.m-5 {
margin: 5em;
}
.mx-5 {
margin: 1em 5em;
}
.my-5 {
margin: 5em 1em;
}
.p-5 {
padding: 5em;
}
.px-5 {
padding: 1em 5em;
}
.py-5 {
padding: 5em 1em;
}
#gotop {
position: fixed;
z-index: 90;
right: 30px;
bottom: 31px;
display: none;
width: 50px;
height: 50px;
color: #fff;
background: #33b5e5;
line-height: 50px;
border-radius: 50%;
-webkit-transition: all 0.3s;
transition: all 0.3s;
text-align: center;
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
#gotop :hover {
background: #0099CC;
}
留言
張貼留言