1159cl/css/layout-blog.css
Mario1159 5b6b79892c
Some checks failed
Release / test (push) Failing after 51s
Release / push-docker-image (push) Has been skipped
2024 new version
2024-12-06 20:38:18 -03:00

50 lines
949 B
CSS

body {
font-size: calc(.5em + .5vw);
margin: 1em 5em;
}
.container {
display: flex;
justify-content: space-between;
gap: 1em;
}
main {
flex: 0 0 40em; /* Set a fixed width of 40em for the main container */
max-width: 40em; /* Ensure main doesn't exceed this width */
}
main img {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
.sidebar {
flex: 1; /* Take up the remaining space on the left */
position: sticky;
align-self: flex-start;
top: 0;
max-width: 15em;
}
.right-column {
flex: 1; /* Take up the remaining space on the right */
display: flex;
flex-direction: column;
gap: 1em;
overflow: visible; /* Make sure overflow is set to visible */
max-width: 15em;
}
.tags {
/* Default styling */
}
.contents-list {
position: sticky;
align-self: flex-start;
top: 1em;
}