HackMD/public/css/cover.css

288 lines
4.9 KiB
CSS
Raw Normal View History

2015-05-04 07:53:29 +00:00
/*
* Globals
*/
/* Links */
a,
a:focus,
a:hover {
color: #fff;
}
/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
color: #333;
text-shadow: none;
/* Prevent inheritence from `body` */
background-color: #fff;
border: 1px solid #fff;
}
/*
* Base structure
*/
2015-05-15 04:58:13 +00:00
html {
height: 100%;
}
2015-05-04 07:53:29 +00:00
html,
body {
background-color: #333;
}
body {
2015-05-15 04:58:13 +00:00
min-height: 100%;
2015-05-04 07:53:29 +00:00
color: #fff;
text-align: center;
text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}
/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
padding: 10px;
display: table;
width: 100%;
2015-05-15 04:58:13 +00:00
height: 100vh;
2015-05-04 07:53:29 +00:00
/* For at least Firefox */
min-height: 100%;
-webkit-box-shadow: inset 0 0 100px rgba(0, 0, 0, .5);
box-shadow: inset 0 0 100px rgba(0, 0, 0, .5);
}
.site-wrapper-inner {
display: table-cell;
vertical-align: middle;
}
.cover-container {
margin-right: auto;
margin-left: auto;
}
/* Padding for spacing */
.inner {
padding: 10px;
}
/*
* Header
*/
.masthead-brand {
margin-top: 10px;
margin-bottom: 10px;
}
.masthead-nav > li {
display: inline-block;
}
.masthead-nav > li + li {
margin-left: 20px;
}
.masthead-nav > li > a {
padding-right: 0;
padding-left: 0;
font-size: 16px;
font-weight: bold;
color: #fff;
/* IE8 proofing */
color: rgba(255, 255, 255, .75);
border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
background-color: transparent;
border-bottom-color: #a9a9a9;
border-bottom-color: rgba(255, 255, 255, .25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
color: #fff;
border-bottom-color: #fff;
}
@media (min-width: 768px) {
.masthead-brand {
float: left;
}
.masthead-nav {
float: none;
}
.inner {
padding: 30px;
}
}
/*
* Cover
*/
.cover {
padding: 0 20px;
}
.cover .btn-lg {
padding: 10px 20px;
font-weight: bold;
}
/*
* Footer
*/
.mastfoot {
color: #999;
/* IE8 proofing */
color: rgba(255, 255, 255, .5);
}
/*
* Affix and center
*/
@media (min-width: 768px) {
/* Pull out the header and footer */
.masthead {
position: relative;
top: 0;
}
.mastfoot {
position: fixed;
bottom: 0;
}
/* Start the vertical centering */
.site-wrapper-inner {
vertical-align: middle;
}
/* Handle the widths */
.masthead,
.mastfoot,
.cover-container {
width: 100%;
/* Must be percentage or pixels for horizontal alignment */
}
}
@media (min-width: 992px) {
.masthead,
.mastfoot,
.cover-container {
2015-05-15 04:58:13 +00:00
width: 1000px;
2015-05-04 07:53:29 +00:00
}
}
.section ul {
list-style: none;
}
/* custom */
html,
body {
overflow-x: hidden;
}
input {
color: black;
}
.mastfoot {
position: relative;
}
2015-05-15 04:58:13 +00:00
.select2-container {
margin: 0 auto !important;
2015-05-04 07:53:29 +00:00
}
.list {
width: 100%;
padding-left: 0;
display: -webkit-inline-flex;
display: -moz-inline-flex;
display: -ms-inline-flex;
display: -o-inline-flex;
display: inline-flex;
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-flow: row wrap;
-moz-flex-flow: row wrap;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
-webkit-justify-content: flex-start;
-moz-justify-content: flex-start;
-ms-justify-content: flex-start;
justify-content: flex-start;
}
.list {
margin: 20px 0;
}
.list li {
padding: 0 10px;
}
.list li * {
word-break: break-all;
word-wrap: break-word;
}
.list li a {
text-decoration: none;
}
.list li p {
color: gray;
}
.list li .item {
padding: 5px 25px;
margin: 10px 0;
background: white;
border-radius: 5px;
color: black;
text-shadow: none;
2015-07-01 16:10:20 +00:00
min-height: 134px;
display: table;
min-width: 100%;
}
.list li .item .content {
display: table-cell;
vertical-align: middle;
2015-05-04 07:53:29 +00:00
}
2015-07-01 16:10:20 +00:00
.list li .item .content .tags {
2015-05-04 07:53:29 +00:00
line-height: 25px;
}
2015-07-01 16:10:20 +00:00
.list li .item .content .tags span {
display: inline-block;
line-height: 15px;
}
2015-05-04 07:53:29 +00:00
.form-inline {
padding: 0 10px;
}
.sort.asc {
text-decoration: overline;
}
.sort.desc {
text-decoration: underline;
}
.ui-history-close {
position: absolute;
right: 14px;
top: 15px;
font-size: 16px;
opacity: 0.5;
}
.ui-history-close:hover {
opacity: 1;
}
2015-07-01 16:10:20 +00:00
.ui-or {
margin-top: 5px;
margin-bottom: 5px;
}
2015-05-04 07:53:29 +00:00
.modal-title {
text-align: left;
color: black;
2015-05-15 04:58:13 +00:00
}
.btn-file {
position: relative;
overflow: hidden;
}
.btn-file input[type=file] {
position: absolute;
top: 0;
right: 0;
min-width: 100%;
min-height: 100%;
font-size: 100px;
text-align: right;
filter: alpha(opacity=0);
opacity: 0;
outline: none;
background: white;
cursor: inherit;
display: block;
2015-05-04 07:53:29 +00:00
}