mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-15 14:41:26 +00:00
Co-authored-by: HEREYUA <1240335630@qq.com> Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/101 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: liuyu <liuyu@noreply.gitea.com> Co-committed-by: liuyu <liuyu@noreply.gitea.com>
76 lines
1.2 KiB
CSS
76 lines
1.2 KiB
CSS
.root {
|
|
width: 100%;
|
|
}
|
|
|
|
.inputs {
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
:global(html[data-theme="light"]) .subscribeSubmit {
|
|
background: #dde0e9;
|
|
}
|
|
|
|
:global(html[data-theme="light"]) .subscribeSubmit:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
@media screen and (min-width: 600px) {
|
|
.inputs {
|
|
grid-template-columns: 4fr 2fr;
|
|
}
|
|
}
|
|
|
|
.input {
|
|
color: var(--theme-input-text-color);
|
|
padding: 1rem;
|
|
font-size: var(--font-size-small);
|
|
width: 100%;
|
|
background-color: var(--theme-input-bg-color);
|
|
}
|
|
|
|
.checkbox {
|
|
display: none !important;
|
|
}
|
|
|
|
.input::placeholder {
|
|
color: var(--theme-input-text-color);
|
|
}
|
|
|
|
.submit {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.loader {
|
|
position: absolute;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.loader:after {
|
|
content: " ";
|
|
display: block;
|
|
width: 14px;
|
|
height: 14px;
|
|
margin: 0;
|
|
border-radius: 50%;
|
|
border: 3px solid transparent;
|
|
border-color: var(--ifm-color-white) transparent var(--ifm-color-white)
|
|
transparent;
|
|
animation: loader 1.2s linear infinite;
|
|
}
|
|
|
|
.success {
|
|
font-size: var(--font-size-large);
|
|
font-weight: var(--ifm-font-weight-bold);
|
|
}
|
|
|
|
@keyframes loader {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|