breve/layouts/main.css

83 lines
1.5 KiB
CSS
Raw Normal View History

2015-04-08 12:47:56 +02:00
@import url(http://fonts.googleapis.com/css?family=Inconsolata:400,700);
2015-04-08 23:25:23 +02:00
@import url(http://reset5.googlecode.com/hg/reset.min.css);
2015-04-08 12:47:56 +02:00
2015-04-08 13:07:56 +02:00
html, body {overflow: auto, box-sizing: border-box}
2015-04-08 12:47:56 +02:00
body, input {font-size: 1.1em;}
body {
background-color: rgb(24,27,32);
color: rgb(155,144,129);
font-family: Inconsolata;
margin: 0;
2015-04-08 13:07:56 +02:00
margin-top: 1em;
2015-04-08 12:47:56 +02:00
}
#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;
2015-04-08 13:07:56 +02:00
margin-top: -2em;
2015-04-08 12:47:56 +02:00
}
2015-04-08 23:25:07 +02:00
footer {
position: absolute;
width: 100%;
bottom: 0;
left: 0;
2015-04-08 13:07:56 +02:00
padding: 1em;
2015-04-08 23:25:07 +02:00
font-size: .9em;
color: rgb(89,84,80)
}
footer span {
float: right;
margin-right: 2em;
}
h1 {
margin: 1em 0 0 1em;
2015-04-08 12:47:56 +02:00
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;
}
2015-04-08 12:56:18 +02:00
#center a:hover {
2015-04-08 12:47:56 +02:00
color: rgb(119,87,80);
text-decoration: underline;
transition: color .5s ease;
}