Compare commits
28 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1850e785f9 | ||
|
|
c8f0beb4b5 | ||
|
|
86f8cc27a3 | ||
|
|
3a4d51b6b2 | ||
|
|
128c27d1a2 | ||
|
|
10cf6ff91f | ||
|
|
57bfaaa4d3 | ||
|
|
18c443aa0b | ||
|
|
670a80414c | ||
|
|
4bc7896c52 | ||
|
|
9b81402f74 | ||
|
|
adaca6dd77 | ||
|
|
f0df3d0a88 | ||
|
|
d7a91c3ce8 | ||
|
|
f65b40a1d8 | ||
|
|
09ab3d4ab7 | ||
|
|
14b7622499 | ||
|
|
01bd699f20 | ||
|
|
3b9e93f0ed | ||
|
|
a654fb84c7 | ||
|
|
9b5e4161cc | ||
|
|
eb9b5d0980 | ||
|
|
b15b6361df | ||
|
|
e337c08da0 | ||
|
|
b6c51fcca0 | ||
|
|
8469aee00d | ||
|
|
aed0bf7463 | ||
|
|
d43c7d390d |
@@ -438,339 +438,6 @@ ul.icons {
|
||||
ul.icons li a {
|
||||
color: inherit; }
|
||||
|
||||
/* Form */
|
||||
form {
|
||||
margin: 0 0 2em 0; }
|
||||
form .message {
|
||||
text-decoration: none;
|
||||
-moz-transition: opacity 0.2s ease-in-out, -moz-transform 0.2s ease-in-out;
|
||||
-webkit-transition: opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
|
||||
-ms-transition: opacity 0.2s ease-in-out, -ms-transform 0.2s ease-in-out;
|
||||
transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
|
||||
-moz-transform: scale(1.05);
|
||||
-webkit-transform: scale(1.05);
|
||||
-ms-transform: scale(1.05);
|
||||
transform: scale(1.05);
|
||||
height: 2.75em;
|
||||
line-height: 2.75em;
|
||||
opacity: 0; }
|
||||
form .message:before {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
display: inline-block;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
text-rendering: auto;
|
||||
line-height: 1;
|
||||
text-transform: none !important;
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
font-weight: 900; }
|
||||
form .message:before {
|
||||
margin-right: 0.5em; }
|
||||
form .message.visible {
|
||||
-moz-transform: scale(1);
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1);
|
||||
opacity: 1; }
|
||||
form .message.success {
|
||||
color: #1cb495; }
|
||||
form .message.success:before {
|
||||
content: '\f00c'; }
|
||||
form .message.failure {
|
||||
color: #ff2361; }
|
||||
form .message.failure:before {
|
||||
content: '\f119'; }
|
||||
|
||||
label {
|
||||
color: #fff;
|
||||
display: block;
|
||||
font-size: 0.9em;
|
||||
font-weight: 700;
|
||||
margin: 0 0 1em 0; }
|
||||
|
||||
@-moz-keyframes focus {
|
||||
0% {
|
||||
-moz-transform: scale(1);
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1); }
|
||||
50% {
|
||||
-moz-transform: scale(1.025);
|
||||
-webkit-transform: scale(1.025);
|
||||
-ms-transform: scale(1.025);
|
||||
transform: scale(1.025); }
|
||||
100% {
|
||||
-moz-transform: scale(1);
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1); } }
|
||||
|
||||
@-webkit-keyframes focus {
|
||||
0% {
|
||||
-moz-transform: scale(1);
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1); }
|
||||
50% {
|
||||
-moz-transform: scale(1.025);
|
||||
-webkit-transform: scale(1.025);
|
||||
-ms-transform: scale(1.025);
|
||||
transform: scale(1.025); }
|
||||
100% {
|
||||
-moz-transform: scale(1);
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1); } }
|
||||
|
||||
@-ms-keyframes focus {
|
||||
0% {
|
||||
-moz-transform: scale(1);
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1); }
|
||||
50% {
|
||||
-moz-transform: scale(1.025);
|
||||
-webkit-transform: scale(1.025);
|
||||
-ms-transform: scale(1.025);
|
||||
transform: scale(1.025); }
|
||||
100% {
|
||||
-moz-transform: scale(1);
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1); } }
|
||||
|
||||
@keyframes focus {
|
||||
0% {
|
||||
-moz-transform: scale(1);
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1); }
|
||||
50% {
|
||||
-moz-transform: scale(1.025);
|
||||
-webkit-transform: scale(1.025);
|
||||
-ms-transform: scale(1.025);
|
||||
transform: scale(1.025); }
|
||||
100% {
|
||||
-moz-transform: scale(1);
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1); } }
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
select,
|
||||
textarea {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-ms-appearance: none;
|
||||
appearance: none;
|
||||
-moz-transform: scale(1);
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1);
|
||||
-moz-transition: border-color 0.2s ease, background-color 0.2s ease;
|
||||
-webkit-transition: border-color 0.2s ease, background-color 0.2s ease;
|
||||
-ms-transition: border-color 0.2s ease, background-color 0.2s ease;
|
||||
transition: border-color 0.2s ease, background-color 0.2s ease;
|
||||
background-color: transparent;
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
border: solid 2px rgba(255, 255, 255, 0.35);
|
||||
color: inherit;
|
||||
display: block;
|
||||
outline: 0;
|
||||
padding: 0 1em;
|
||||
text-decoration: none;
|
||||
width: 100%; }
|
||||
input[type="text"]:invalid,
|
||||
input[type="password"]:invalid,
|
||||
input[type="email"]:invalid,
|
||||
select:invalid,
|
||||
textarea:invalid {
|
||||
box-shadow: none; }
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="email"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
-moz-animation: focus 0.1s;
|
||||
-webkit-animation: focus 0.1s;
|
||||
-ms-animation: focus 0.1s;
|
||||
animation: focus 0.1s;
|
||||
background-color: rgba(255, 255, 255, 0.125);
|
||||
border-color: #1cb495; }
|
||||
|
||||
select {
|
||||
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='rgba(255, 255, 255, 0.35)' /%3E%3C/svg%3E");
|
||||
background-size: 1.25rem;
|
||||
background-repeat: no-repeat;
|
||||
background-position: calc(100% - 1rem) center;
|
||||
height: 2.75em;
|
||||
padding-right: 2.75em;
|
||||
text-overflow: ellipsis; }
|
||||
select option {
|
||||
color: #fff;
|
||||
background: #000; }
|
||||
select:focus::-ms-value {
|
||||
background-color: transparent; }
|
||||
select::-ms-expand {
|
||||
display: none; }
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
select {
|
||||
height: 2.75em; }
|
||||
|
||||
textarea {
|
||||
padding: 0.75em 1em; }
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-ms-appearance: none;
|
||||
appearance: none;
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: -2em;
|
||||
opacity: 0;
|
||||
width: 1em;
|
||||
z-index: -1; }
|
||||
input[type="checkbox"] + label,
|
||||
input[type="radio"] + label {
|
||||
text-decoration: none;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: 1em;
|
||||
font-weight: 400;
|
||||
padding-left: 2.4em;
|
||||
padding-right: 0.75em;
|
||||
position: relative; }
|
||||
input[type="checkbox"] + label:before,
|
||||
input[type="radio"] + label:before {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
display: inline-block;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
text-rendering: auto;
|
||||
line-height: 1;
|
||||
text-transform: none !important;
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
font-weight: 900; }
|
||||
input[type="checkbox"] + label:before,
|
||||
input[type="radio"] + label:before {
|
||||
background: rgba(255, 255, 255, 0.125);
|
||||
border-radius: 6px;
|
||||
border: solid 2px rgba(255, 255, 255, 0.35);
|
||||
content: '';
|
||||
display: inline-block;
|
||||
font-size: 0.8em;
|
||||
height: 1.65em;
|
||||
left: 0;
|
||||
line-height: 1.65em;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
width: 1.65em; }
|
||||
input[type="checkbox"]:checked + label:before,
|
||||
input[type="radio"]:checked + label:before {
|
||||
background: #1cb495;
|
||||
border-color: #1cb495;
|
||||
color: #ffffff;
|
||||
content: '\f00c'; }
|
||||
input[type="checkbox"]:focus + label:before,
|
||||
input[type="radio"]:focus + label:before {
|
||||
border-color: #1cb495;
|
||||
box-shadow: 0 0 0 2px #1cb495; }
|
||||
|
||||
input[type="checkbox"] + label:before {
|
||||
border-radius: 6px; }
|
||||
|
||||
input[type="radio"] + label:before {
|
||||
border-radius: 100%; }
|
||||
|
||||
::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5) !important;
|
||||
opacity: 1.0; }
|
||||
|
||||
:-moz-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5) !important;
|
||||
opacity: 1.0; }
|
||||
|
||||
::-moz-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5) !important;
|
||||
opacity: 1.0; }
|
||||
|
||||
:-ms-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5) !important;
|
||||
opacity: 1.0; }
|
||||
|
||||
.formerize-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5) !important;
|
||||
opacity: 1.0; }
|
||||
|
||||
/* Button */
|
||||
input[type="submit"],
|
||||
input[type="reset"],
|
||||
input[type="button"],
|
||||
button,
|
||||
.button {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-ms-appearance: none;
|
||||
appearance: none;
|
||||
-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
||||
-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
||||
-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
||||
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
||||
background-color: #1cb495;
|
||||
border-radius: 6px;
|
||||
border: 0;
|
||||
color: #ffffff !important;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
height: 2.75em;
|
||||
line-height: 2.75em;
|
||||
padding: 0 1.125em;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
white-space: nowrap; }
|
||||
input[type="submit"]:hover,
|
||||
input[type="reset"]:hover,
|
||||
input[type="button"]:hover,
|
||||
button:hover,
|
||||
.button:hover {
|
||||
background-color: #1fcaa7; }
|
||||
input[type="submit"]:active,
|
||||
input[type="reset"]:active,
|
||||
input[type="button"]:active,
|
||||
button:active,
|
||||
.button:active {
|
||||
background-color: #199e83; }
|
||||
input[type="submit"].disabled, input[type="submit"]:disabled,
|
||||
input[type="reset"].disabled,
|
||||
input[type="reset"]:disabled,
|
||||
input[type="button"].disabled,
|
||||
input[type="button"]:disabled,
|
||||
button.disabled,
|
||||
button:disabled,
|
||||
.button.disabled,
|
||||
.button:disabled {
|
||||
opacity: 0.5; }
|
||||
@media screen and (max-width: 480px) {
|
||||
input[type="submit"],
|
||||
input[type="reset"],
|
||||
input[type="button"],
|
||||
button,
|
||||
.button {
|
||||
padding: 0; } }
|
||||
|
||||
/* Header */
|
||||
#header h1 {
|
||||
font-size: 3.25em;
|
||||
@@ -793,42 +460,6 @@ button,
|
||||
#header {
|
||||
margin: 0 0 1em 0; } }
|
||||
|
||||
/* Signup Form */
|
||||
#signup-form {
|
||||
display: -moz-flex;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
position: relative; }
|
||||
#signup-form input[type="text"],
|
||||
#signup-form input[type="password"],
|
||||
#signup-form input[type="email"] {
|
||||
width: 18em; }
|
||||
#signup-form > * {
|
||||
margin: 0 0 0 1em; }
|
||||
#signup-form > :first-child {
|
||||
margin: 0 0 0 0; }
|
||||
@media screen and (max-width: 480px) {
|
||||
#signup-form {
|
||||
-moz-flex-direction: column;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column; }
|
||||
#signup-form input[type="type"],
|
||||
#signup-form input[type="password"],
|
||||
#signup-form input[type="email"] {
|
||||
width: 100%; }
|
||||
#signup-form > * {
|
||||
margin: 1.25em 0 0 0; }
|
||||
#signup-form .message {
|
||||
bottom: -1.5em;
|
||||
font-size: 0.9em;
|
||||
height: 1em;
|
||||
left: 0;
|
||||
line-height: inherit;
|
||||
margin-top: 0;
|
||||
position: absolute; } }
|
||||
|
||||
/* Footer */
|
||||
#footer {
|
||||
-moz-transition: opacity 0.5s ease-in-out;
|
||||
|
||||
@@ -94,72 +94,4 @@
|
||||
}, settings.delay);
|
||||
|
||||
})();
|
||||
|
||||
// Signup Form.
|
||||
(function() {
|
||||
|
||||
// Vars.
|
||||
var $form = document.querySelectorAll('#signup-form')[0],
|
||||
$submit = document.querySelectorAll('#signup-form input[type="submit"]')[0],
|
||||
$message;
|
||||
|
||||
// Bail if addEventListener isn't supported.
|
||||
if (!('addEventListener' in $form))
|
||||
return;
|
||||
|
||||
// Message.
|
||||
$message = document.createElement('span');
|
||||
$message.classList.add('message');
|
||||
$form.appendChild($message);
|
||||
|
||||
$message._show = function(type, text) {
|
||||
|
||||
$message.innerHTML = text;
|
||||
$message.classList.add(type);
|
||||
$message.classList.add('visible');
|
||||
|
||||
window.setTimeout(function() {
|
||||
$message._hide();
|
||||
}, 3000);
|
||||
|
||||
};
|
||||
|
||||
$message._hide = function() {
|
||||
$message.classList.remove('visible');
|
||||
};
|
||||
|
||||
// Events.
|
||||
// Note: If you're *not* using AJAX, get rid of this event listener.
|
||||
$form.addEventListener('submit', function(event) {
|
||||
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
|
||||
// Hide message.
|
||||
$message._hide();
|
||||
|
||||
// Disable submit.
|
||||
$submit.disabled = true;
|
||||
|
||||
// Process form.
|
||||
// Note: Doesn't actually do anything yet (other than report back with a "thank you"),
|
||||
// but there's enough here to piece together a working AJAX submission call that does.
|
||||
window.setTimeout(function() {
|
||||
|
||||
// Reset form.
|
||||
$form.reset();
|
||||
|
||||
// Enable submit.
|
||||
$submit.disabled = false;
|
||||
|
||||
// Show message.
|
||||
$message._show('success', 'Thank you!');
|
||||
//$message._show('failure', 'Something went wrong. Please try again.');
|
||||
|
||||
}, 750);
|
||||
|
||||
});
|
||||
|
||||
})();
|
||||
|
||||
})();
|
||||
@@ -1,221 +0,0 @@
|
||||
/* Form */
|
||||
|
||||
form {
|
||||
margin: 0 0 _size(element-margin) 0;
|
||||
|
||||
.message {
|
||||
@include icon(false, solid);
|
||||
@include vendor('transition', (
|
||||
'opacity #{_duration(transition)} ease-in-out',
|
||||
'transform #{_duration(transition)} ease-in-out'
|
||||
));
|
||||
@include vendor('transform', 'scale(1.05)');
|
||||
height: _size(element-height);
|
||||
line-height: _size(element-height);
|
||||
opacity: 0;
|
||||
|
||||
&:before {
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
&.visible {
|
||||
@include vendor('transform', 'scale(1)');
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.success {
|
||||
color: _palette(positive, bg);
|
||||
|
||||
&:before {
|
||||
content: '\f00c';
|
||||
}
|
||||
}
|
||||
|
||||
&.failure {
|
||||
color: _palette(negative, bg);
|
||||
|
||||
&:before {
|
||||
content: '\f119';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
color: _palette(fg-bold);
|
||||
display: block;
|
||||
font-size: 0.9em;
|
||||
font-weight: _font(weight-bold);
|
||||
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
||||
}
|
||||
|
||||
@include keyframes(focus) {
|
||||
0% { @include vendor('transform', 'scale(1)'); }
|
||||
50% { @include vendor('transform', 'scale(1.025)'); }
|
||||
100% { @include vendor('transform', 'scale(1)'); }
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
select,
|
||||
textarea {
|
||||
@include vendor('appearance', 'none');
|
||||
@include vendor('transform', 'scale(1)');
|
||||
@include vendor('transition', (
|
||||
'border-color #{_duration(transition)} ease',
|
||||
'background-color #{_duration(transition)} ease'
|
||||
));
|
||||
background-color: transparent;
|
||||
border-radius: _size(border-radius);
|
||||
border: none;
|
||||
border: solid _size(border-width) _palette(border);
|
||||
color: inherit;
|
||||
display: block;
|
||||
outline: 0;
|
||||
padding: 0 1em;
|
||||
text-decoration: none;
|
||||
width: 100%;
|
||||
|
||||
&:invalid {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
@include vendor('animation', 'focus 0.1s');
|
||||
background-color: _palette(border-bg);
|
||||
border-color: _palette(accent, bg);
|
||||
}
|
||||
}
|
||||
|
||||
select {
|
||||
background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#{_palette(border)}' /></svg>");
|
||||
background-size: 1.25rem;
|
||||
background-repeat: no-repeat;
|
||||
background-position: calc(100% - 1rem) center;
|
||||
height: _size(element-height);
|
||||
padding-right: _size(element-height);
|
||||
text-overflow: ellipsis;
|
||||
|
||||
option {
|
||||
color: _palette(fg-bold);
|
||||
background: _palette(bg);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
&::-ms-value {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
&::-ms-expand {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
select {
|
||||
height: _size(element-height);
|
||||
}
|
||||
|
||||
textarea {
|
||||
padding: 0.75em 1em;
|
||||
}
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"], {
|
||||
@include vendor('appearance', 'none');
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: -2em;
|
||||
opacity: 0;
|
||||
width: 1em;
|
||||
z-index: -1;
|
||||
|
||||
& + label {
|
||||
@include icon(false, solid);
|
||||
color: _palette(fg);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: 1em;
|
||||
font-weight: _font(weight);
|
||||
padding-left: (_size(element-height) * 0.6) + 0.75em;
|
||||
padding-right: 0.75em;
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
background: _palette(border-bg);
|
||||
border-radius: _size(border-radius);
|
||||
border: solid _size(border-width) _palette(border);
|
||||
content: '';
|
||||
display: inline-block;
|
||||
font-size: 0.8em;
|
||||
height: (_size(element-height) * 0.6);
|
||||
left: 0;
|
||||
line-height: (_size(element-height) * 0.6);
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
width: (_size(element-height) * 0.6);
|
||||
}
|
||||
}
|
||||
|
||||
&:checked + label {
|
||||
&:before {
|
||||
background: _palette(accent, bg);
|
||||
border-color: _palette(accent, bg);
|
||||
color: _palette(accent, fg-bold);
|
||||
content: '\f00c';
|
||||
}
|
||||
}
|
||||
|
||||
&:focus + label {
|
||||
&:before {
|
||||
border-color: _palette(accent, bg);
|
||||
box-shadow: 0 0 0 _size(border-width) _palette(accent, bg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
& + label {
|
||||
&:before {
|
||||
border-radius: _size(border-radius);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
& + label {
|
||||
&:before {
|
||||
border-radius: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::-webkit-input-placeholder {
|
||||
color: _palette(fg-light) !important;
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
:-moz-placeholder {
|
||||
color: _palette(fg-light) !important;
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
::-moz-placeholder {
|
||||
color: _palette(fg-light) !important;
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
:-ms-input-placeholder {
|
||||
color: _palette(fg-light) !important;
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
.formerize-placeholder {
|
||||
color: _palette(fg-light) !important;
|
||||
opacity: 1.0;
|
||||
}
|
||||
@@ -31,11 +31,9 @@
|
||||
@import 'components/icon';
|
||||
@import 'components/list';
|
||||
@import 'components/icons';
|
||||
@import 'components/form';
|
||||
@import 'components/button';
|
||||
|
||||
// Layout.
|
||||
|
||||
@import 'layout/header';
|
||||
@import 'layout/signup-form';
|
||||
@import 'layout/footer';
|
||||
BIN
images/beian.png
Normal file
BIN
images/beian.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
30
index.html
30
index.html
@@ -2,7 +2,7 @@
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>David Miller's HomePage</title>
|
||||
<title>David Miller's Homepage</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
<link rel="stylesheet" href="assets/css/main.css" />
|
||||
@@ -10,28 +10,36 @@
|
||||
<body class="is-preload">
|
||||
<!-- Header -->
|
||||
<header id="header">
|
||||
<h1>David Miller's HomePage</h1>
|
||||
<p>A High School Student from Beijing, China<br/>
|
||||
Click the links below for further exploration</p>
|
||||
<h1>David Miller's Homepage</h1>
|
||||
<p>A High School Freshman from Beijing, China</p>
|
||||
|
||||
</header>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer id="footer">
|
||||
<ul class="icons">
|
||||
<li><a href="https://wechat.davidmiller.top" class="icon brands fa-weixin"><span class="label">WeChat</span></a></li>
|
||||
<li><a href="https://img.davidmiller.top/wechat.jpg" class="icon brands fa-weixin"><span class="label">WeChat</span></a></li>
|
||||
<li><a href="mailto:davidmillercn@outlook.com" class="icon solid fa-envelope"><span class="label">Email</span></a></li>
|
||||
<li><a href="https://steamcommunity.com/id/citizenbeta/" class="icon brands fa-steam"><span class="label">Steam</span></a></li>
|
||||
<li><a href="https://twitter.com/CitizenBeta2" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
|
||||
<li><a href="https://github.com/CitizenBeta2" class="icon brands fa-github"><span class="label">GitHub</span></a></li>
|
||||
<li><a href="mailto:davidmillercn@outlook.com" class="icon solid fa-envelope"><span class="label">Email</span></a></li>
|
||||
<li><a href="https://www.facebook.com/CitizenBeta2" class="icon brands fa-facebook"><span class="label">Facebook</span></a></li>
|
||||
<li><a href="https://img.davidmiller.top/qq.jpg" class="icon brands fa-qq"><span class="label">QQ</span></a></li>
|
||||
<li><a href="https://pki.davidmiller.top" class="icon solid fa-key"><span class="label">PKI</span></a></li>
|
||||
<li><a href="https://www.facebook.com/CitizenBeta2" class="icon brands fa-facebook"><span class="label">Facebook</span></a></li>
|
||||
<li><a href="https://steam.davidmiller.top" class="icon brands fa-steam"><span class="label">Steam</span></a></li>
|
||||
<li><a href="https://vault.davidmiller.top" class="icon solid fa-lock"><span class="label">Bitwarden</span></a></li>
|
||||
</ul>
|
||||
<ul class="copyright">
|
||||
<li>© David Miller.</li>
|
||||
<li>Credits: <a href="https://github.com/CitizenBeta2/HomePage">GitHub Repository</a></li>
|
||||
<li><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802035614" target="_blank">京公网安备 11010802035614号</a> <a href="https://beian.miit.gov.cn/" target="_blank">京ICP备2021023756号-1</a></li>
|
||||
<li>© <span id=current-year><script>document.getElementById("current-year").innerHTML=(new Date).getFullYear()</script></span> David Miller.</li>
|
||||
<li><a href="https://github.com/CitizenBeta2/Homepage/releases/tag/v2.5.2">v2.5.2</a></li>
|
||||
<li><a href="https://davidmiller.statuspage.io">System Status</a></li>
|
||||
<li><img src="./images/beian.png" style="width:16px;"/><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802035614" target="_blank">京公网安备 11010802035614号</a></li>
|
||||
<li><a href="https://beian.miit.gov.cn" target="_blank">京ICP备2021023756号-1</a></li>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</ul>
|
||||
<script src="https://static.davidmiller.top/js/statuspage.js"></script>
|
||||
</footer>
|
||||
|
||||
<!-- Scripts -->
|
||||
|
||||
Reference in New Issue
Block a user