You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
1.9 KiB
CSS
84 lines
1.9 KiB
CSS
.container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
grid-template-rows: 100px 1fr;
|
|
|
|
min-height: 100vh;
|
|
grid-template-areas:
|
|
". . header . utils"
|
|
". post . . .";
|
|
}
|
|
|
|
.utils{
|
|
display: grid;
|
|
grid-template-areas:
|
|
"signout "
|
|
"create "
|
|
"blog_list "
|
|
"read_post"
|
|
"posts_list";
|
|
grid-area: utils;
|
|
max-height: 50px;
|
|
max-width: 150px;
|
|
}
|
|
.signout{
|
|
grid-area: signout;
|
|
}
|
|
.create{
|
|
grid-area: create;
|
|
}
|
|
.blog_list{
|
|
grid-area: blog_list;
|
|
}
|
|
.post_read{
|
|
grid-area: post_read;
|
|
}
|
|
.posts_list{
|
|
grid-area: posts_list;
|
|
}
|
|
|
|
.mybtn{
|
|
margin: 5px;
|
|
--bs-btn-color: #fff;
|
|
--bs-btn-bg: #6c757d;
|
|
--bs-btn-border-color: #6c757d;
|
|
--bs-btn-hover-color: #fff;
|
|
--bs-btn-hover-bg: #5c636a;
|
|
--bs-btn-hover-border-color: #565e64;
|
|
--bs-btn-focus-shadow-rgb: 130,138,145;
|
|
--bs-btn-active-color: #fff;
|
|
--bs-btn-active-bg: #565e64;
|
|
--bs-btn-active-border-color: #51585e;
|
|
--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
|
--bs-btn-disabled-color: #fff;
|
|
--bs-btn-disabled-bg: #6c757d;
|
|
--bs-btn-disabled-border-color: #6c757d;
|
|
user-select: none;
|
|
border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
|
|
border-radius: var(--bs-btn-border-radius);
|
|
background-color: var(--bs-btn-bg);
|
|
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
|
|
border-radius: 5px;
|
|
font-family: var(--bs-btn-font-family);
|
|
font-size: var(--bs-btn-font-size);
|
|
font-weight: var(--bs-btn-font-weight);
|
|
line-height: var(--bs-btn-line-height);
|
|
color: var(--bs-btn-color);
|
|
text-align: center;
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.mybtn:hover{
|
|
color: var(--bs-btn-hover-color);
|
|
background-color: var(--bs-btn-hover-bg);
|
|
border-color: var(--bs-btn-hover-border-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header{
|
|
grid-area: header;
|
|
} |