Bitcoin_educational_videos/style.css

131 lines
2.0 KiB
CSS
Raw Normal View History

2022-02-03 13:40:36 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-transform: capitalize;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-weight: normal;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
body {
background: #fff;
2022-02-07 09:53:25 +00:00
overflow: hidden;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.heading {
color: dimgrey;
font-size: 40px;
padding: 10px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 15px;
align-items: flex-start;
padding: 5px 5%;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .main-video {
background: white;
border-radius: 5px;
padding: 10px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .main-video video {
width: 100%;
border-radius: 5px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .main-video video .title {
color: grey;
font-size: 23px;
padding-top: 15px;
padding-bottom: 15px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .video-list {
background: white;
border-radius: 5px;
2022-02-07 09:53:25 +00:00
height: 100vh;
2022-02-03 13:40:36 +00:00
overflow-y: scroll;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .video-list .vid video {
width: 100%;
border-radius: 5px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .main-video .title {
color: grey;
font-size: 23px;
padding-top: 15px;
padding-bottom: 15px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .video-list::-webkit-scrollbar {
width: 7px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .video-list::-webkit-scrollbar-track {
background: white;
border-radius: 50px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .video-list::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 50px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .video-list .vid video {
width: 100px;
border-radius: 5px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .video-list .vid {
display: flex;
gap: 15px;
background: white;
border-radius: 5px;
margin: 10px;
padding: 10px;
border: 1px solid rgba(0, 0, 0, .1);
cursor: pointer;
flex-direction: column;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .video-list .vid:hover {
background: white;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .video-list .vid.active {
background: #ccc;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .video-list .vid.active.title {
color: white;
}
2022-02-01 13:08:53 +00:00
2022-02-03 13:40:36 +00:00
.container .video-list .vid .title {
color: grey;
font-size: 17px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
.container .video-list .vid video {
width: 100%;
border-radius: 5px;
2022-02-01 13:08:53 +00:00
}
2022-02-03 13:40:36 +00:00
@media(max-width:994px) {
.container {
grid-template-columns: 1.5fr 1fr;
padding: 10px;
}
}
2022-02-01 13:08:53 +00:00
2022-02-03 13:40:36 +00:00
@media(max-width:778px) {
.container {
grid-template-columns: 1fr;
padding: 10px;
}
}