WIP
This commit is contained in:
committed by
Ulises Gascon
parent
91ba1f5054
commit
9dd233c371
@@ -0,0 +1,133 @@
|
||||
html,
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.menu ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
background-color: #343e8b;
|
||||
}
|
||||
|
||||
.menu li {
|
||||
float: right;
|
||||
margin-right: 4%;
|
||||
font-weight: bold;
|
||||
line-height: 50px;
|
||||
}
|
||||
|
||||
.menu li:last-child {
|
||||
float: left;
|
||||
margin-left: 4%;
|
||||
}
|
||||
|
||||
.menu a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
figcaption {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.2em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
#whispers {
|
||||
border-top: 1px solid #ccc;
|
||||
margin-top: 20px;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
article {
|
||||
background: #f8f6f6;
|
||||
border: 2px solid #343e8b;
|
||||
margin: 1.5em 10px;
|
||||
padding: 0 10px;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
article p {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
article .meta {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
article .actions {
|
||||
margin-top: 10px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
article .actions > button {
|
||||
cursor: pointer;
|
||||
margin: 3px;
|
||||
border: none;
|
||||
background-color: #f8f6f6;
|
||||
}
|
||||
|
||||
.block {
|
||||
display: block;
|
||||
width: 60%;
|
||||
border: none;
|
||||
background-color: #343e8b;
|
||||
padding: 0.5em 10px;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
border: #343e8b 2px solid;
|
||||
width: 350px;
|
||||
border-radius: 15px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
form input {
|
||||
margin: 10px;
|
||||
padding: 5px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
width: 90%;
|
||||
}
|
||||
Reference in New Issue
Block a user