Files
cat-reddit/src/App.css

65 lines
1019 B
CSS

.App {
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
padding: 0;
}
.navbar {
display: inline-flex;
flex-direction: row;
justify-content: space-between;
align-items: baseline;
width: 100%;
height: 5rem;
border-bottom: 1px solid black;
}
.navbar > * {
padding: 0 2rem;
}
.content-container {
display: inline-flex;
flex-direction: row;
}
.feed {
display: inline-flex;
flex-direction: column;
align-items: center;
width: 90vw;
}
.about-the-app {
display: hidden;
flex-direction: column;
align-items: center;
}
.sidebar {
display: flex;
flex-direction: column;
width: 12rem;
position: fixed;
background-color: black;
color: white;
right: 0;
top: 5rem;
padding: 1.5rem;
transition: right 0.6s ease-out;
}
.sidebar-hidden {
display: flex;
flex-direction: column;
width: 12rem;
position: fixed;
background-color: black;
color: white;
right: -15rem;
top: 5rem;
padding: 1.5rem;
transition: right 0.6s ease-out;
}