แม่แบบ:กระบะทราย TemplateStyles/Thitut/สถานีย่อยการบินอวกาศ.css

จากวิกิพีเดีย สารานุกรมเสรี
.wp-container {
     width: 100%;
     overflow: hidden;
     box-sizing: border-box;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Thonburi, 'SF Thonburi', Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
 .wp-container * {
     box-sizing: border-box;
}
 .wp-hero {
     display: block;
     position: relative;
     height: 675px;
     width: 100%;
     overflow: hidden;
     background-image: linear-gradient(45deg, black, transparent);
}
 .wp-hero img {
     position: absolute;
     width: auto;
     height: 100%;
     z-index: -1;
     object-fit: cover;
     object-position: 0 0;
}
 .wp-hero .wp-hero-title {
     font-size: 500%;
     color: #fff;
     text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
 .wp-hero .wp-hero-content {
     max-width: 455px;
     position: absolute;
     bottom: 4rem;
     padding: 3rem;
     left: 0;
     color: #fff;
     text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
 .wp-hero .wp-hero-content a {
     text-decoration: none;
     color: #fff;
}
 .wp-content .wp-article {
     display: flex;
     max-height: 100%;
     flex-direction: row-reverse;
}
 .wp-content .wp-article.text-left {
     flex-direction: row;
}
 .wp-content .wp-article .wp-article-text {
     flex: 40%;
     padding: 1.5rem 1rem 1rem 1rem;
     max-width: 360px;
     height: 390px;
     resize: horizontal;
}
 .wp-content .wp-article .wp-article-image {
     flex: auto;
     overflow: hidden;
     position: relative;
     color: #fff;
}
 .wp-content .wp-article .wp-article-image em {
     z-index: 2;
     font-size: 150%;
     line-height: 1.5em;
     display: inline-block;
     text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
 .wp-content .wp-article .wp-article-image strong {
     z-index: 2;
     font-size: 250%;
     line-height: 1.3em;
     font-weight: normal;
     display: block;
     text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
 .wp-content .wp-article .wp-article-titles {
     position: absolute;
     bottom: 2rem;
     left: 1.5rem;
}
 .wp-content .wp-article .wp-article-image > a {
     position: absolute;
     height: 100%;
}
 .wp-content .wp-article .wp-article-image img {
     height: 100%;
     width: auto;
     min-width: 534px;
     object-fit: cover;
     object-position: 0 20%;
}
.wp-content .wp-article .wp-article-text span:last-child {
	display: block;
	text-align: right;
	margin-top: .2rem;
	font-weight: bold;
}

/* Small devices (phones, 768px and down) */
 @media only screen and (max-width: 768px) {
     .wp-hero .wp-hero-content {
         width: 100%;
         max-width: none;
    }
     .wp-hero img {
         width: auto;
         height: 100%;
    }
     .wp-content .wp-article, .wp-content .wp-article.text-left {
         flex-direction: column-reverse;
    }
     .wp-content .wp-article .wp-article-text {
         flex: auto;
         padding: .5rem 1.5rem;
         max-width: none;
         height: auto;
    }
     .wp-content .wp-article .wp-article-image {
         flex: auto;
         overflow: hidden;
         position: relative;
         color: #fff;
         height: 300px;
    }
     .wp-content .wp-article .wp-article-image > a {
         position: absolute;
         height: 100%;
    }
     .wp-content .wp-article .wp-article-image img {
         height: auto;
         max-width: none;
         width: 100%;
         min-width: 585px;
         min-height: 300px;
    }
}