retrogit/app/static/main.css

168 lines
2.3 KiB
CSS

html {
position: relative;
height: 100%;
}
body {
font-family: Helvetica, Arial, sans-serif;
font-size: 14pt;
line-height: 24pt;
background: url("images/paper-background.png");
position: relative;
min-height: 100%;
margin: 0;
padding: 10px 66px;
}
.perforated-edge {
position: absolute;
width: 46px;
height: 100%;
top: 0;
}
.perforated-edge.right {
right: 0;
background-image: url("images/perforated-edge-right.png");
}
.perforated-edge.left {
left: 0;
background-image: url("images/perforated-edge-left.png");
}
.logo {
width: 497px;
height: 77px;
background-image: url("images/logo.png");
margin: 31px auto 10px;
}
.page-body {
max-width: 800px;
margin: 0 auto;
padding: 0 20px;
background: rgba(255, 255, 255, 0.5);
}
a {
color: #4183c4;
text-decoration: none;
}
#sign-in-form {
margin: 0 auto;
}
#sign-in-form input[type="submit"] {
font-size: 18pt;
font-weight: bold;
}
#sign-in-form label {
display: block;
}
#primary-actions,
#primary-actions input[type="submit"] {
font-size: 14pt;
}
#primary-actions {
margin: 2em 0;
}
#send-form {
display: inline;
}
.setting {
margin: 1em 0;
}
.setting .explanation {
color: #999;
margin: 0;
}
.repos {
margin-left: 1em;
}
.repos h2 {
font-size: 16px;
font-weight: bold;
position: relative;
margin: 10px 0 5px;
}
.repos h2:after {
content: "";
position: absolute;
bottom: 2px;
left: 0;
right: 0;
height: 1px;
background: #ccc;
}
.repos h2 .avatar {
height: 16px;
}
.repos ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.repos .repo {
overflow: hidden;
margin: 5px 0;
padding: 0;
}
.repos .repo.private .glyph {
color: #baac79;
}
.repos .repo .vintage {
padding-left: 1em;
color: #999;
font-style: italic;
}
#delete-account-form {
border-top: solid 1px #ccc;
margin-top: 1em;
padding-top: 1em;
}
input[type="submit"].destructive {
-webkit-appearance: none;
display: inline;
background: transparent;
padding: 0;
border: 0;
font-family: Helvetica, Arial, sans-serif;
font-size: 10pt;
text-decoration: underline;
color: #900;
}
.flash {
position: absolute;
top: 20px;
right: 20px;
background: rgba(0, 0, 0, 0.75);
border-radius: 4px;
color: #fff;
font-size: 12pt;
padding: 10px;
transition: opacity ease-in-out 300ms;
opacity: 0;
}
.flash.visible {
opacity: 1;
}