🔨☎️ Checkpoint

./signup/index.html:69682263/120
./styles/main.css:69682263/2353
./index.html:69682263/1402
This commit is contained in:
Glitch (glitch-hello-website)
2024-12-11 23:23:41 +00:00
parent b838a36589
commit eb4eece4e6
3 changed files with 58 additions and 106 deletions

View File

@ -1,19 +1,3 @@
/******************************************************************************
START Glitch hello-app default styles
The styles in this section do some minimal CSS resets, set default fonts and
colors, and handle the layout for our footer and "Remix on Glitch" button. If
you're new to CSS they may seem a little complicated, but you can scroll down
to this section's matching END comment to see page-specific styles.
******************************************************************************/
/*
The style rules specify elements by type and by attributes such as class and ID
Each section indicates an element or elements, then lists the style properties to apply
See if you can cross-reference the rules in this file with the elements in index.html
*/
/* Our default values set as CSS variables */
:root {
--color-bg: #69F7BE;
@ -48,32 +32,6 @@ to this section's matching END comment to see page-specific styles.
format("opentype");
}
/* Our remix on glitch button */
.btn--remix {
font-family: HK Grotesk;
padding: 0.75rem 1rem;
font-size: 1.1rem;
line-height: 1rem;
font-weight: 500;
height: 2.75rem;
align-items: center;
cursor: pointer;
background: #FFFFFF;
border: 1px solid #000000;
box-sizing: border-box;
border-radius: 4px;
text-decoration: none;
color: #000;
white-space: nowrap;
margin-left: auto;
}
.btn--remix img {
margin-right: 0.5rem;
}
.btn--remix:hover {
background-color: #D0FFF1;
}
/* Navigation grid */
.footer {
display: flex;
@ -130,67 +88,17 @@ body {
justify-content: center;
}
/* Very light scaling for our illustration */
.title {
color: var(--color-text-header);
font-family: HK Grotesk;
font-style: normal;
font-weight: bold;
font-size: 100px;
font-size: 65px;
line-height: 105%;
margin: 0;
}
/* Very light scaling for our illustration */
.illustration {
max-width: 100%;
max-height: var(--image-max-width);
margin-top: var(--image-margin);
}
/* Instructions */
.instructions {
margin: 1rem auto 0;
}
/* Button - Add it from the README instructions */
button,
input {
font-family: inherit;
font-size: 100%;
background: #FFFFFF;
border: 1px solid #000000;
box-sizing: border-box;
border-radius: 4px;
padding: 0.5rem 1rem;
transition: 500ms;
}
/* Subheading */
h2 {
h2, h3 {
color: var(--color-text-header);
}
/* Interactive image */
.illustration:active {
transform: translateY(5px);
}
/* Button dip
- Toggling this class on and off will move it down and up again
- The button transition property above determines the speed of the translate (500ms)
*/
.dipped {
transform: translateY(5px);
}
/* Links that open files in the editor */
.fileopener {
cursor:pointer;
font-weight:bold;
border-bottom:3px solid var(--color-primary);
color: var(--color-secondary);
}
.fileopener:hover {
border-bottom:3px solid var(--color-secondary);
}