HummingBirdAnimeClient/frontEndSrc/css/src/responsive.css

138 lines
2.1 KiB
CSS
Raw Normal View History

/* ----------------------------------------------------------------------------
Viewport-based styles
-----------------------------------------------------------------------------*/
@media screen and (max-width: 1100px) {
.flex {
flex-wrap: wrap;
}
aside.info,
aside.info + article,
.fixed aside.info,
.fixed aside.info + article {
max-width: none;
width: 100%;
}
2018-11-05 11:04:19 -05:00
/* aside.info {
order: 1;
} */
}
@media screen and (max-width: 800px) {
* {
2018-11-05 11:22:35 -05:00
max-width: none;
}
2018-11-05 11:04:19 -05:00
table {
box-shadow: none;
}
body,
.details .flex > * {
margin: 0;
}
2018-11-05 11:04:19 -05:00
table,
table th,
table td,
table .align-right,
table.align-center {
border: 0;
/* display: block; */
margin-left: auto;
margin-right: auto;
2018-11-05 11:04:19 -05:00
text-align: left;
width: 100%;
}
table td {
display: inline-block;
}
table tbody,
table.media-details {
width: 100%;
}
2018-11-05 11:04:19 -05:00
table.media-details td {
display: block;
text-align: left !important;
width: 100%;
2018-11-05 11:04:19 -05:00
}
table thead {
display: none;
}
.details .media-details td:nth-child(2n+1) {
font-weight: bold;
width: 100%;
}
2018-11-05 11:22:35 -05:00
table.streaming-links tr td:not(:first-child) {
display:none;
}
}
@media screen and (max-width: 40em) {
nav a {
line-height: 4em;
line-height: 4rem;
}
img,
picture {
width: 100%;
}
main {
padding: 0 0, 5em 0.5em;
padding: 0 0.5rem 0.5rem;
}
.media {
margin: 2px 0;
}
.details {
padding: 0.5em;
padding: 0.5rem;
}
/* Expand tabs */
.tabs > [type="radio"]:checked + label {
background: #fff;
}
/* Expand vertical tabs */
.vertical-tabs .tab {
flex-wrap: wrap;
}
.tabs .content,
.tabs > [type="radio"]:checked + label + .content,
.vertical-tabs .tab .content {
display: block;
border: 0;
max-height: none;
}
.tabs > label,
.tabs > label:active,
.tabs > label:hover,
.tabs > [type="radio"]:checked + label,
.vertical-tabs .tab label,
.vertical-tabs .tab label:active,
.vertical-tabs .tab label:hover,
.vertical-tabs [type=radio]:focus + label,
.vertical-tabs [type=radio]:checked + label {
background: #fff;
border: 0;
width: 100%;
cursor: default;
color: #000;
}
}