Lucas Kent 89e0ed1e65 test
2022-12-14 13:25:44 -05:00

79 lines
1.2 KiB
CSS

* {
box-sizing: border-box;
}
/* Header/Blog Title */
.header {
padding: 30px;
font-size: 40px;
text-align: center;
background: white;
}
body {
padding: px;
background: #868686;
}
/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
margin: auto;
padding: 10px;
float: left;
width: 75%;
}
/* Right column */
.rightcolumn {
float: left;
width: 25%;
padding-left: 20px;
}
/* Fake image */
.fakeimg {
background-color: #aaa;
width: 100%;
}
/* Add a card effect for articles */
.card {
background-color: white;
padding: 20px;
margin-top: 20px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Footer */
.footer {
padding: 20px;
text-align: center;
background: #ddd;
margin-top: 20px;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
}
.image {
max-width: 100%;
max-height: 100%;
}
/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
.leftcolumn,
.rightcolumn {
width: 100%;
padding: 0;
}
}