NewTabPage/main.css

124 lines
1.9 KiB
CSS
Raw Normal View History

html {
/* set these manually to fix background images on chrome mobile */
width: 100%;
height: 100%;
}
body {
width: 100%;
height: 100%;
background: white no-repeat center center fixed;
2017-12-09 19:10:03 +00:00
background-size: cover;
2017-12-09 19:10:03 +00:00
tab-size: 4;
-moz-tab-size: 4;
}
.card-header {
background-color: #FEA63C;
color: white;
font-size: 16px;
font-weight: 600;
2017-12-14 03:52:21 +00:00
vertical-align: middle;
padding-top: 0.4em;
padding-bottom: 0.4em;
}
2017-12-14 22:13:26 +00:00
.start-hidden {
display: none;
height: 16px; /* prvents problems with height jumping with jquery show/hide */
}
.list-group-item {
2017-12-14 03:52:21 +00:00
padding-top: .4rem;
padding-bottom: .4rem;
}
.card, .btn {
2017-12-09 19:10:03 +00:00
border: 0px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
2017-12-14 22:13:26 +00:00
.list-group {
min-height: 31px;
}
2017-12-28 02:58:57 +00:00
.dragHandle, .dragGroupHandle {
cursor: move;
}
.navbar {
2017-12-09 19:10:03 +00:00
background: transparent !important;
}
2017-12-12 23:17:54 +00:00
pre {
tab-size: 4;
-moz-tab-size: 4;
background-color: rgb(245, 245, 245);
padding: 10px;
}
/* Move the navbar contents onto the same line as the toggler */
#navbarCollapse {
2017-12-13 00:02:21 +00:00
margin-top: -2.5rem !important;
margin-right: 50px;
}
.toggler-bg-dark {
background: rgba(0, 0, 0, 0.24);
}
.toggler-bg-light {
background: rgba(255, 255, 255, 0.24);
}
2017-12-14 22:13:26 +00:00
.clickable {
cursor: pointer;
}
2017-12-09 19:10:03 +00:00
/* set the width of the main container based on element width */
@media (max-width: 34em) {
#wrapper {
width: 90%;
}
}
@media (min-width: 34em) {
#wrapper {
width: 60%;
}
}
/* change the number of columns in card-columns */
@media (min-width: 34em) {
2017-12-09 19:10:03 +00:00
.card-columns {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
}
@media (min-width: 48em) {
2017-12-09 19:10:03 +00:00
.card-columns {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
}
@media (min-width: 62em) {
2017-12-09 19:10:03 +00:00
.card-columns {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
}
@media (min-width: 75em) {
2017-12-09 19:10:03 +00:00
.card-columns {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
}