front end html to look like existing capsul site without <pre>
This commit is contained in:
@ -1,12 +1,23 @@
|
||||
|
||||
body {
|
||||
color: #c5c8c6;
|
||||
html {
|
||||
color: #bdc7b8;
|
||||
font: calc(0.40rem + 1vmin) monospace;
|
||||
text-align: center;
|
||||
overflow-y: scroll;
|
||||
background-color: #241e1e;
|
||||
}
|
||||
|
||||
body {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
min-width: 33rem;
|
||||
max-width: 53rem;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 53rem) {
|
||||
body {
|
||||
margin: 0 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color:#6CF;
|
||||
}
|
||||
@ -17,21 +28,93 @@ a:hover, a:active, a:visited {
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
}
|
||||
span.home {
|
||||
align-self: flex-start;
|
||||
}
|
||||
span.account {
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.float-right {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
justify-content: space-between;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.flash {
|
||||
background: red;
|
||||
color: rgb(173, 74, 8);
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
border: 1px dashed rgb(173, 74, 8);
|
||||
border-radius: 2em;
|
||||
margin-bottom: 2em;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
main {
|
||||
border: 1px dashed #bdc7b8;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.hero {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.single-content {
|
||||
margin: 4rem 0;
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
input, label {
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
input {
|
||||
background: none;
|
||||
outline: 0;
|
||||
padding: 0.25em 0.5em;
|
||||
border-radius: 0.5em;
|
||||
color: #bdc7b8;
|
||||
}
|
||||
|
||||
input[type=text] {
|
||||
font: calc(0.40rem + 1vmin) monospace;
|
||||
border: 0;
|
||||
border-bottom: 2px solid #777e73;
|
||||
min-width: 20em;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
font: calc(0.40rem + 1vmin) monospace;
|
||||
cursor: pointer;
|
||||
border: 1px solid #777e73;
|
||||
background: #bdc7b810;
|
||||
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5 {
|
||||
font-size:calc(0.40rem + 1vmin);
|
||||
margin: initial;
|
||||
padding: initial;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
ul li {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
footer, p {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.bigtext {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top: 0.17rem;
|
||||
font-size: 1.8em;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user