Initial Build

This commit is contained in:
Alex 2026-06-03 17:18:50 -07:00
parent 71cd3acccd
commit 6c0d9a3f98
140 changed files with 9802 additions and 2403 deletions

View file

@ -0,0 +1,6 @@
@use './brain/form';
@use './brain/layout';
body {
background-color: lightgrey;
}

View file

@ -0,0 +1,36 @@
.page {
max-width: 800px;
width: 100%;
margin: 0 auto;
h2 {
margin: 0;
}
.row {
display: block;
padding: 1rem 0;
label {
display: block;
}
input {
height: 30px;
width: 300px;
}
#post_published {
width: 30px;
height: 30px;
}
#post_save {
width: 100px;
height: 30px;
background-color: green;
border: none;
color: white;
}
}
}

View file

@ -0,0 +1,33 @@
#brain-wrapper {
header {
.level-1 {
display: flex;
justify-content: center;
align-items: flex-start;
position: relative;
list-style-type: none;
&--item {
padding: 1rem 2rem;
}
.level-2 {
display: none;
margin: 0;
padding: 0;
&.open {
display: block;
position: absolute;
}
&--item {
padding: 1rem 0;
}
}
}
}
}

View file

@ -0,0 +1,57 @@
@use '../shared/colors' as colors;
.secondary.layout--v1 {
display: block;
position: relative;
padding: 0.5rem 0.5rem;
background-color: colors.$primaryYellow;
#root {
display: flex;
flex-direction: column;
@media (min-width: 800px) {
display: grid;
grid-template-columns: 25% 75%;
grid-template-rows: 1fr;
margin: 0 auto;
padding: 1rem 1rem;
}
gap: 1rem;
position: relative;
width: 100%;
height: 100%;
min-height: 100vh;
max-width: 1200px;
background-color: colors.$carbonBlack;
box-shadow: 0 0 5px 10px rgba(29, 31, 32, 0.45);
main {
padding: 1rem 1rem;
}
}
&.menu-open,
&.photo-open {
overflow: hidden;
}
&.photo-open {
.overlay {
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: colors.$inkBlack;
opacity: .9;
}
}
}

View file

@ -0,0 +1,24 @@
@use '../shared/colors';
.posts {
.list {
ul {
list-style: none;
padding: 0;
li {
padding: 1rem 0;
a {
color: colors.$primaryWhite;
text-decoration: none;
display: block;
.post-title {
margin: 0;
}
}
}
}
}
}

View file

@ -0,0 +1,147 @@
@use '../shared/colors' as colors;
header {
display: block;
position: sticky;
overflow: auto;
width: 100%;
height: 50px;
top: 0;
padding-bottom: 1rem;
background-color: colors.$carbonBlack;
@media (min-width: 600px) {
height: 500px;
}
&.open {
overflow: visible;
}
&.open {
.top {
h1 {
display: none;
}
}
}
nav.main {
display: block;
position: relative;
@media (min-width: 600px) {
display: flex;
flex-direction: column;
gap: 2rem;
}
.top {
display: flex;
h1 {
margin: 0;
a {
display: block;
position: relative;
top: 1rem;
left: 1rem;
font-size: 1.5rem;
text-decoration: none;
color: colors.$primaryBlack;
background-color: colors.$primaryYellow;
border: 2px solid colors.$primaryYellow;
padding: 2px 2px;
&:hover {
color: colors.$primaryYellow;
background-color: unset;
}
}
}
.icon {
&.icon-menu {
display: block;
position: absolute;
top: 1rem;
right: 1rem;
width: 35px;
height: 35px;
z-index: 999;
transition: right 100ms ease;
@media screen and (min-width: 600px) {
display: none;
}
&:before {
content: '';
display: block;
background-image: url('/icons/menu-grid.svg');
background-size: 100%;
position: absolute;
width: 35px;
height: 35px;
}
&:hover {
cursor: pointer;
}
&.open {
right: 325px;
&:before {
background-image: url('/icons/menu-close.svg');
}
}
}
}
}
menu {
position: absolute;
right: 0;
top: 0;
width: 0;
background-color: colors.$primaryYellow;
overflow: hidden;
padding: 0;
margin: 0;
transition: width 100ms ease;
@media (min-width: 600px) {
position: relative;
top: unset;
right: unset;
width: 100%;
transition: unset;
background-color: unset;
}
&.open {
width: 300px;
box-shadow: 0 0 5px 10px rgba(29, 31, 32, 0.45);
}
li {
padding: 1rem 2rem;
a {
display: block;
color: colors.$primaryWhite;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
}
}
}

View file

@ -0,0 +1,179 @@
@use '../shared/colors' as colors;
.photos {
display: block;
.albums {
display: flex;
flex-direction: column;
width: 100%;
@media (min-width: 800px) {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto;
}
gap: 1rem;
list-style: none;
padding: 0;
.album {
display: block;
width: 100%;
a {
display: block;
position: relative;
color: white;
text-decoration: none;
overflow: hidden;
img {
display: block;
width: 100%;
height: auto;
}
.title, .date, .overlay {
position: absolute;
visibility: visible;
margin: 0;
}
.title, .date, .category {
z-index: 2;
}
.title {
top: 1rem;
left: 1rem;
}
.date {
bottom: 1rem;
left: 1rem;
font-weight: bold;
}
.overlay {
width: 100%;
height: auto;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.333);
z-index: 1;
}
&:hover {
.title, .date, .category, .overlay {
visibility: hidden;
}
img {
transform: scale(1.01);
transition: transform 100ms ease-in-out;
}
}
}
}
}
img {
width: 100%;
}
}
#album {
.title {
margin: 0;
}
.meta {
border-bottom: 5px solid colors.$computerBorder;
}
.photos {
display: flex;
flex-direction: column;
width: 100%;
@media (min-width: 800px) {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto;
}
gap: 1rem;
list-style: none;
padding: 0;
.photo {
width: 100%;
overflow: hidden;
img {
//width: 100%;
transition: transform 100ms ease-in-out;
}
&:hover {
cursor: pointer;
img {
transform: scale(1.01);
transition: transform 100ms ease-in-out;
}
}
}
}
}
#open-image {
display: none;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
z-index: 999;
.close {
cursor: pointer;
font-size: 2rem;
position: absolute;
right: 0;
top: 0;
}
img {
width: 100%;
height: auto;
}
#details {
display: block;
height: auto;
padding: 1rem 1rem;
background-color: colors.$computerBorder;
p {
margin: 0;
}
#caption {
font-size: 1.5rem;
padding-bottom: 1rem;
}
#location, #date, #equipment {
font-size: 1.25rem;
}
}
&.open {
display: block;
}
}

View file

@ -0,0 +1,73 @@
@use '../shared/colors' as colors;
.posts {
display: block;
h2, h3 {
position: relative;
margin: 0;
width: fit-content;
&:after {
content: '';
display: block;
width: 75px;
height: 5px;
background-color: colors.$computerBorder;
}
}
.intro {
//color: colors.$primaryWhite;
}
.list {
padding-top: 1rem;
border-top: 5px solid colors.$primaryYellow;
.post {
a {
.title {
padding: 0.5rem 0;
}
&:hover {
text-decoration: underline;
text-decoration-color: colors.$computerBorder;
}
}
}
}
}
.post {
display: block;
.title {
margin: 0.5rem 0;
}
.meta {
padding-bottom: 1rem;
border-bottom: 5px solid colors.$computerBorder;
.admin-actions {
padding-bottom: 1rem;
}
.published {
font-size: 1.125rem;
}
.category {
font-size: 1.125rem;
}
}
.text p {
font-size: 1.25rem;
line-height: 1.5;
}
}

View file

@ -0,0 +1,15 @@
@use '../shared/colors' as colors;
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
time {
color: colors.$primaryWhite;
}

View file

@ -0,0 +1,2 @@
@use './landing/computer';
@use './shared/fonts';

View file

@ -0,0 +1,619 @@
@use '../shared/colors' as colors;
.home {
display: flex;
align-items: center;
flex-direction: column;
background-color: colors.$primaryGrey;
margin: 0;
header {
width: 100%;
h1 {
margin: 0;
a {
display: block;
font-size: 1.5rem;
text-decoration: none;
color: colors.$primaryBlack;
background-color: colors.$primaryYellow;
border: 2px solid colors.$primaryYellow;
padding: 2px 2px;
&:hover {
color: colors.$primaryYellow;
background-color: unset;
}
}
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
overflow: hidden;
position: relative;
.icon {
&.icon-menu {
position: absolute;
z-index: 999;
display: block;
right: 2rem;
width: 30px;
height: 30px;
transition: right 100ms ease;
@media screen and (min-width: 600px) {
display: none;
}
&:before {
content: '';
display: block;
background-image: url('/icons/menu-grid.svg');
background-size: 100%;
position: absolute;
width: 30px;
height: 30px;
}
&:hover {
cursor: pointer;
}
&.open {
right: calc(1/3 * 100% + 1rem);
}
}
}
.front-menu {
display: flex;
flex-direction: column;
gap: 1rem;
overflow: hidden;
position: fixed;
right: -100%;
top: 1rem;
margin: 0;
padding: 0;
transition: right 200ms ease;
&.open {
right: 1rem;
}
@media screen and (min-width: 600px) {
flex-direction: row;
position: relative;
top: unset;
right: unset;
}
list-style: none;
li {
a {
display: block;
font-family: AtomicAge-Regular;
color: colors.$primaryYellow;
font-size: 1.5rem;
text-decoration: none;
padding-bottom: 2px;
&:hover {
border-bottom: 2px solid colors.$primaryYellow;
padding-bottom: 0;
}
}
}
}
}
}
#root {
&.v1 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: auto;
width: 100%;
margin: 0 auto;
section {
margin: 0;
padding: 1rem 0;
.title {
margin: 0;
}
}
.top {
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
width: 100%;
.computer {
display: block;
max-width: 1024px;
max-height: 1024px;
width: 100%;
background-color: colors.$primaryBlack;
border: 2rem solid colors.$computerBorder;
padding: 1rem 1rem;
box-shadow: 0 0 5px 10px rgba(29, 31, 32, 0.45);
.heading {
margin: 0;
font-size: 1rem;
font-family: Montserrat-Light;
color: colors.$primaryYellow;
position: relative;
padding-left: 1rem;
@media screen and (min-width: 600px) {
font-size: 2rem;
}
&:before {
content: '>';
position: absolute;
left: 0;
width: 100%;
//background: #1d1f20;
}
&:after {
content: "|";
position: absolute;
right: 0;
width: 100%;
background: colors.$primaryBlack;
animation: typing 0.5s steps(16) forwards,
cursor 1s infinite;
@media screen and (min-width: 600px) {
animation: typing 0.5s steps(16) forwards,
cursor 1s infinite;
}
}
}
#intro {
width: fit-content;
.heading {
width: 240px;
}
}
#body {
width: fit-content;
.about {
opacity: 0;
animation: showText 0.1s forwards;
animation-delay: 1s;
font-size: 1rem;
color: colors.$primaryYellow;
@media screen and (min-width: 600px) {
font-size: 2rem;
animation: showText 0.1s forwards;
animation-delay: 1s;
}
}
}
#outro {
width: fit-content;
.heading {
width: 160px;
&:after{
color: colors.$primaryBlack;
animation: typing 0.5s steps(16) forwards,
cursor 1s infinite;
animation-delay: 2.5s;
@media screen and (min-width: 600px) {
animation: typing 0.5s steps(16) forwards,
cursor 1s infinite;
animation-delay: 2.5s;
}
}
}
.menu {
opacity: 0;
animation: showText 0.1s forwards;
animation-delay: 3s;
display: flex;
flex-wrap: wrap;
gap: 1rem;
padding-top: 2rem;
padding-bottom: 2rem;
@media screen and (min-width: 600px) {
animation-delay: 3.5s;
}
a {
font-size: 1rem;
color: colors.$primaryYellow;
cursor: pointer;
@media screen and (min-width: 600px) {
font-size: 2rem;
}
}
}
}
}
}
.bottom {
width: 100%;
height: 100%;
section {
box-shadow: 0 0 5px 4px rgba(29, 31, 32, 0.45);
margin: 4rem 0;
}
#cool-stuff{
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
height: auto;
background-color: colors.$primaryYellow;
padding: 2rem 0;
.title {
&:after {
content: '';
display: block;
width: 150px;
margin: 0 auto;
border-bottom: 5px solid colors.$primaryGreen;
}
}
.highlights {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 2rem;
position: relative;
height: 100%;
width: 100%;
padding-top: 1rem;
.highlight {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: stretch;
padding: 1rem 1rem;
position: relative;
width: 100%;
height: auto;
max-width: 400px;
box-shadow: 0 0 5px 0 rgba(29, 31, 32, 0.45);
img {
width: 75%;
}
p {
font-size: 1.25rem;
text-align: center;
}
a {
display: block;
font-family: Orbitron-Regular;
color: colors.$primaryRed;
font-size: 1.5rem;
font-weight: bold;
text-decoration: none;
padding-bottom: 5px;
&:hover {
border-bottom: 5px solid colors.$primaryRed;
padding-bottom: 0;
}
}
.icon {
&.icon-paperclip {
position: absolute;
top: 0;
left: 0;
&:before {
content: '';
display: block;
background-image: url('/icons/paperclip.svg');
background-size: 100%;
position: absolute;
width: 50px;
height: 50px;
top: -10px;
left: -10px;
}
}
}
&:hover {
box-shadow: 0 0 5px 5px rgba(29, 31, 32, 0.45);
}
}
}
}
#work {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: colors.$computerBorder;
padding: 1rem 2rem;
> .title {
color: colors.$primaryRed;
font-weight: bold;
&:after {
content: '';
display: block;
width: 50px;
margin: 0 auto;
border-bottom: 5px solid colors.$primaryYellow;
}
}
.jobs {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 2rem;
width: 100%;
height: 100%;
@media screen and (min-width: 800px) {
flex-wrap: nowrap;
}
.left, .right {
width: 100%;
height: 100%;
@media screen and (min-width: 800px) {
width: 50%;
}
.title {
text-align: center;
color: colors.$primaryRed;
}
}
.left {
.wrapper {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.job {
padding: 1rem 2rem;
margin-top: 1rem;
padding: 5px;
position: relative;
box-shadow: 0 0 5px 0px rgba(29, 31, 32, 0.45);
.title {
text-align: left;
color: colors.$primaryRed;
}
&:hover {
cursor: pointer;
}
&.active {
border-left: 1rem solid colors.$primaryYellow;
box-shadow: 0 0 5px 5px rgba(29, 31, 32, 0.45);
}
}
}
.right {
.highlights {
display: block;
height: 100%;
width: 100%;
margin-top: 1rem;
}
.job-highlight {
//width: 100%;
//height: 100%;
padding: 1rem 2rem;
ul {
padding: 0;
//margin: 0;
}
&.show {
display: block;
border-left: 1rem solid colors.$primaryYellow;
box-shadow: 0 0 5px 5px rgba(29, 31, 32, 0.45);
@media screen and (min-width: 800px) {
border-right: 1rem solid colors.$primaryYellow;
border-left: unset;
}
}
&.hide {
display: none;
}
}
}
}
}
#contact {
display: block;
background-color: colors.$carbonBlack;
.title {
color: colors.$primaryWhite;
text-align: center;
&:after {
content: '';
display: block;
width: 75px;
margin: 0 auto;
border-bottom: 5px solid colors.$primaryGrey;
}
}
.info {
display: flex;
justify-content: center;
padding: 1rem 0;
.icon {
&.icon-email {
position: relative;
&:before {
content: '';
display: block;
background-image: url('/icons/email.svg');
background-size: 100%;
width: 30px;
height: 30px;
}
}
}
}
}
}
#continue {
display: block;
position: absolute;
bottom: 5rem;
left: 50%;
transform: translateX(-50%);
text-align: center;
width: 100%;
opacity: 0;
color: colors.$primaryWhite;
animation: showText 0.1s forwards,
continue 0.5s steps(50) forwards;
animation-delay: 4s;
@media screen and (min-width: 600px) {
animation-delay: 6s;
}
.icon {
&.icon-arrow-down {
&:after {
content: '';
display: block;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
background-image: url('/icons/arrow-down-top-line.svg');
background-size: 100%;
width: 50px;
height: 50px;
}
}
}
}
}
}
}
@keyframes typing {
0% {
color: colors.$primaryYellow;
}
100% {
width: 0;
color: colors.$primaryBlack;
}
}
@keyframes typing2 {
0% {
color: colors.$primaryYellow;
}
99.9% {
color: colors.$primaryYellow;
}
100% {
width: 0;
color: colors.$primaryBlack;
}
}
@keyframes cursor {
50% { color: transparent }
}
@keyframes showText {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes continue {
0% {
bottom: 5rem;
}
100% {
bottom: 4rem;
}
}

View file

@ -0,0 +1,9 @@
@use './shared/normalize';
@use './shared/fonts';
@use './front/typography';
@use './front/layout';
@use './front/menu';
@use './front/lists';
@use './front/photos';
@use './front/posts';

View file

@ -0,0 +1,18 @@
$primaryRed: #49111C;
$crimson: #9B1D20;
$primaryYellow: #d7b94c;
$primaryGreen: #04392f;
$primaryBlack: #1d1f20;
$primaryWhite: #FBFCFF;
$primaryGrey: #696969;
$primaryLightGrey: #a8a8a8;
$green: #0E6E0C;
//Landing
$computerBorder: #a6a695;
$evergreen: $primaryGreen;
$inkBlack: #171A21;
$fern: #3F784C;
$carbonBlack: #1F2421;

View file

@ -0,0 +1,135 @@
//headings
@font-face {
font-family: RobotoSlab-Regular;
src: url('/fonts/RobotoSlab-Regular.ttf') format('opentype');
}
@font-face {
font-family: RobotoSlab-Medium;
src: url('/fonts/RobotoSlab-Regular.ttf') format('opentype');
}
@font-face {
font-family: RobotoSlab-Bold;
src: url('/fonts/RobotoSlab-Bold.ttf') format('opentype');
}
@font-face {
font-family: RobotoSlab-Black;
src: url('/fonts/RobotoSlab-Black.ttf') format('opentype');
}
@font-face {
font-family: AtomicAge-Regular;
src: url('/fonts/AtomicAge-Regular.ttf') format('opentype');
}
//non-headings
@font-face {
font-family: Montserrat-Regular;
src: url('/fonts/Montserrat-Regular.ttf') format('opentype');
}
@font-face {
font-family: Montserrat-Light;
src: url('/fonts/Montserrat-Light.ttf') format('opentype');
}
@font-face {
font-family: Montserrat-Italic;
src: url('/fonts/Montserrat-Italic.ttf') format('opentype');
}
@font-face {
font-family: Montserrat-Bold;
src: url('/fonts/Montserrat-Bold.ttf') format('opentype');
}
@font-face {
font-family: Montserrat-SemiBold;
src: url('/fonts/Montserrat-SemiBold.ttf') format('opentype');
}
@font-face {
font-family: Orbitron-Regular;
src: url('/fonts/Orbitron-Regular.ttf') format();
}
h1, h2, h3, h4, h5, h6 {
font-family: AtomicAge-Regular;
letter-spacing: 2px;
}
h1 {
font-size: 2rem;
@media screen and (min-width: 600px) {
font-size: 3rem;
}
}
h2 {
font-size: 1.75rem;
@media screen and (min-width: 600px) {
font-size: 2.5rem;
}
}
h3 {
font-size: 1.5rem;
@media screen and (min-width: 600px) {
font-size: 2rem;
}
}
h4 {
font-size: 1.25rem;
@media screen and (min-width: 600px) {
font-size: 1.5rem;
}
}
h5 {
font-size: 1rem;
@media screen and (min-width: 600px) {
font-size: 1.25rem;
}
}
h6 {
font-size: 1rem;
@media screen and (min-width: 600px) {
font-size: 1em;
}
}
p, a, li, span {
font-family: RobotoSlab-Regular;
letter-spacing: 1px;
}
strong {
font-family: Montserrat-Bold;
}
em {
font-family: Montserrat-Italic;
}
u {
font-family: Montserrat-SemiBold;
}
cite, q, small {
font-family: Orbitron-Regular;
}
s {
font-family: Montserrat-SemiBold;
}

View file

@ -0,0 +1,349 @@
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
margin: 0;
}
/**
* Render the `main` element consistently in IE.
*/
main {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/* Text-level semantics
========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* Embedded content
========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input { /* 1 */
overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select { /* 1 */
text-transform: none;
}
/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline;
}
/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
overflow: auto;
}
/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}
/* Misc
========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
display: none;
}
/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}