status-media/src/css/HomePage.styles.css
2020-02-05 02:12:15 +09:00

170 lines
2.4 KiB
CSS

.Home {
padding: 10px;
}
.Home-banner {
border-radius: 10px;
margin: 0 0 50px;
text-align: left;
color: #555;
display: flex;
justify-content: space-between;
}
.Home-banner .icon {
font-size: 20px;
margin: 10px;
cursor: pointer;
opacity: 0.5;
}
.Home-banner .icon.active {
opacity: 1;
}
.Home-banner h1 {
font-size: 33px;
margin-bottom: 10px;
font-weight: 500;
}
.Home-category {
margin: 50px 0;
}
.Home-category:last-of-type {
margin-bottom: 100px;
}
.Home-category-title {
font-size: 22px;
text-align: left;
color: #555;
font-weight: 500;
margin-bottom: 5px;
}
.Home-category-subtitle {
text-align: left;
color: #aaa;
font-size: 14px;
margin-bottom: 20px;
font-weight: 500;
}
.Home-podcast {
text-decoration: none;
}
.Home-podcast img {
margin-bottom: 5px;
width: 100%;
}
.Home-podcast-title {
margin-top: 5px;
font-weight: normal;
color: rgb(105, 105, 105);
text-align: center;
}
.Home-podcast-creator {
font-weight: normal;
margin-top: 5px;
color: #999;
text-align: center;
}
.Home-podcasts {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
grid-gap: 80px;
}
.grid {
display: grid;
margin-left: 30px;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
grid-gap: 80px;
margin-bottom: 100px;
}
/* ============ Themes ============ */
.Home.dark .Home-category-title,
.Home.dark .Home-banner {
color: #eee;
}
.Home.dark .Home-podcast-title {
color: #777;
}
.Home.dark .Home-category-subtitle {
color: #6d6d6d;
}
.Home.black .Home-podcast-title {
color: #555;
}
.Home.black .Home-category-title {
color: #ccc;
}
.Home.black .Home-category-subtitle {
color: #444;
}
.Home.black .Home-banner {
color: #ccc;
}
@media only screen and (max-width: 900px) {
.home-title {
font-size: 20px !important;
margin: 5px 0 0 0 !important;
}
}
@media only screen and (max-width: 600px) {
.home-title {
font-size: 15px !important;
margin: 10px 0 0 0 !important;
}
.grid {
margin-left: 0px;
}
.Home-banner h1 {
font-size: 28px;
}
.Home-podcasts {
position: relative;
display: flex;
overflow-y: hidden;
overflow-x: scroll;
margin: 0 -25px;
width: calc(100% + 40px);
padding: 0 20px;
}
.Home-podcast-title {
margin-left: 5px;
text-align: center;
}
::-webkit-scrollbar {
display: none;
}
.Home-category img {
width: 95px;
margin: 5px;
}
}