mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 22:48:29 -04:00
* less corny header and note meta icons * swap out more twemojis * indicate active page in nav bar * update favicons * extract `<MenuLink />` into its own component * change hover effect to an underline * cropped header photo
90 lines
1.4 KiB
CSS
90 lines
1.4 KiB
CSS
.input {
|
|
width: 100%;
|
|
padding: 0.8em;
|
|
margin: 0.6em 0;
|
|
border: 2px solid;
|
|
border-radius: var(--rounded-edge-radius);
|
|
color: var(--text);
|
|
background-color: var(--super-duper-light);
|
|
border-color: var(--light);
|
|
/* light-dark theme switch fading */
|
|
transition: background 0.25s ease;
|
|
}
|
|
|
|
.input:focus {
|
|
outline: none;
|
|
border-color: var(--link);
|
|
}
|
|
|
|
.input.missing {
|
|
border-color: var(--error);
|
|
}
|
|
|
|
.textarea {
|
|
height: 12em;
|
|
min-height: 6em;
|
|
margin-bottom: 0;
|
|
line-height: 1.5;
|
|
resize: vertical;
|
|
}
|
|
|
|
.markdown_tip {
|
|
font-size: 0.825em;
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.markdown_tip a:first-of-type {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.hcaptcha {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.action_row {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 3.75em;
|
|
}
|
|
|
|
.btn_submit {
|
|
flex-shrink: 0;
|
|
height: 3.25em;
|
|
padding: 1em 1.25em;
|
|
margin-right: 1.5em;
|
|
border: 0;
|
|
border-radius: var(--rounded-edge-radius);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
background-color: var(--kinda-light);
|
|
}
|
|
|
|
.btn_submit:hover {
|
|
color: var(--super-duper-light);
|
|
background-color: var(--link);
|
|
}
|
|
|
|
.btn_submit .send_icon {
|
|
margin-right: var(--rounded-edge-radius);
|
|
}
|
|
|
|
.result_success,
|
|
.result_error {
|
|
font-weight: 600;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.result_success {
|
|
color: var(--success);
|
|
}
|
|
|
|
.result_error {
|
|
color: var(--error);
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|