Import of glitchdotcom/hello-express
This commit is contained in:
1 parent
ca6674f38e
commit
e78428c94d
7 files changed
+130
-138
No files matched your search
+25
-40
@@ -1,71 +1,56 @@
|
||||
/* styles */
|
||||
/* called by your view template */
|
||||
/* this file is loaded by index.html and styles the page */
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: helvetica, arial, sans-serif;
|
||||
margin: 2em;
|
||||
font-family: sans-serif;
|
||||
margin: 2em 1em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-style: italic;
|
||||
color: #373fff;
|
||||
}
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
p {
|
||||
max-width: 600px;
|
||||
max-width: calc(100% - 5rem);
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
form {
|
||||
margin-bottom: 25px;
|
||||
padding: 15px;
|
||||
background-color: cyan;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
max-width: 340px;
|
||||
border-radius: 3px;
|
||||
background-color: #eee;
|
||||
display: grid;
|
||||
grid-gap: 1em;
|
||||
padding: 1em;
|
||||
max-width: 40ch;
|
||||
}
|
||||
|
||||
input {
|
||||
border: 1px solid silver;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
margin-bottom: 10px;
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
border: 1px solid lightgrey;
|
||||
border-radius: 3px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
button {
|
||||
font-size: 16px;
|
||||
border-radius: 3px;
|
||||
background-color: lightgrey;
|
||||
border: 1px solid grey;
|
||||
box-shadow: 2px 2px teal;
|
||||
form button {
|
||||
background-color: #bbbbf2;
|
||||
border: 2px solid currentColor;
|
||||
border-radius: .25em;
|
||||
cursor: pointer;
|
||||
font-size: inherit;
|
||||
line-height: 1.4em;
|
||||
padding: 0.25em 1em;
|
||||
max-width: 20ch;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
button:active {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 5px;
|
||||
form button:hover {
|
||||
background-color: lavender;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 50px;
|
||||
padding-top: 25px;
|
||||
margin-top: 3em;
|
||||
padding-top: 1.5em;
|
||||
border-top: 1px solid lightgrey;
|
||||
}
|
||||
Reference in new issue
Block a user