breve/layouts/main.css
2015-04-08 13:07:56 +02:00

68 lines
1.2 KiB
CSS

@import url(http://fonts.googleapis.com/css?family=Inconsolata:400,700);
html, body {overflow: auto, box-sizing: border-box}
body, input {font-size: 1.1em;}
body {
background-color: rgb(24,27,32);
color: rgb(155,144,129);
font-family: Inconsolata;
margin: 0;
margin-top: 1em;
}
#container {
text-align:center;
position: absolute;
height: 100%;
width: 100%;
}
#container:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
#center {
display: inline-block;
text-align:left;
margin-top: -2em;
}
h1 {
display: inline;
padding: 1em;
font-size: 1.8em;
font-weight: 700;
color: rgb(81,94,102);
}
input[type="text"] {
border: none;
border-bottom: 2px dashed rgb(43,44,46);
outline: none;
background: transparent;
color: rgb(119,96,73);
padding: 0 2px;
}
input[type="submit"] {
border: 1px solid rgb(43,44,46);
padding: .4em;
background: transparent;
color: rgb(119,87,80);
cursor: pointer;
}
a:link, a:visited {
color: rgb(119,96,73);
text-decoration: none;
}
#center a:hover {
color: rgb(119,87,80);
text-decoration: underline;
transition: color .5s ease;
}