This repository has been archived on 2025-11-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
portfolio/computer-science-blog/css/main.css
Matthew Grove 3f7f4ee573 Update GCSE CS blog
Insert blog pages via jQuery .load();
Ensure presentation buttons don't have content between them;
Improve styling
2018-12-08 08:54:05 +00:00

51 lines
887 B
CSS

/* Reading School 2018, CSS*/
.carousel-inner {
height: 250px;
}
.carousel-inner .item {
height: 100%;
}
.carousel-inner div {
width: 100%;
border: none;
height: 100%;
}
.carousel-indicators li {
border: 1px solid var(--mdc-theme-secondary);
}
.carousel-indicators .active {
background-color: var(--mdc-theme-secondary);
}
.presentation-button-left {
float: left;
}
.presentation-button-right {
float: right;
}
/* ensure content below buttons doesn't cover them */
.presentation-buttons-container {
width: 100%;
min-height: 32px;
}
/* add side margins depending on screen size */
#main-content {
text-align: left;
margin: 20px 15%;
}
@media screen and (max-width: 1000px) {
#main-content {
margin: 20px 10%;
}
}
@media screen and (max-width: 800px) {
#main-content {
margin: 20px 5%;
}
}
@media screen and (max-width: 600px) {
#main-content {
margin: 20px;
}
}