Refactor CSS (#785)
* Refactor CSS Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor about section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor CSS for experiences section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Update education section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Update projects section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Update publication + accomplishment section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Update achievements section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor footer CSS Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Re-use section title adjustment css for top header Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor navbar CSS Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor sidebar CSS Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Use unified navbar for all pages Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor 404 page CSS Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor list page css Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Fix notes page css Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor single page css Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Introduce color variables Signed-off-by: hossainemruz <hossainemruz@gmail.com> --------- Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
77447b7723
commit
6dc9d1d33d
64 changed files with 2532 additions and 3593 deletions
93
assets/styles/components/buttons.scss
Normal file
93
assets/styles/components/buttons.scss
Normal file
|
@ -0,0 +1,93 @@
|
|||
.btn-dark {
|
||||
background-color: $text-color !important;
|
||||
border-color: $text-color !important;
|
||||
color: $text-over-accent-color !important;
|
||||
@include transition();
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: $accent-color !important;
|
||||
border-color: $accent-color !important;
|
||||
@include transition();
|
||||
}
|
||||
}
|
||||
|
||||
.btn-info {
|
||||
background-color: $accent-color !important;
|
||||
color: $text-over-accent-color !important;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: $hover-over-accent-color !important;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-outline-info {
|
||||
color: $accent-color !important;
|
||||
border-color: $accent-color !important;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: $accent-color !important;
|
||||
color: $text-over-accent-color !important;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-link {
|
||||
color: $accent-color;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $hover-over-accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-button {
|
||||
background-color: transparent;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 0.25rem;
|
||||
color: $muted-text-color;
|
||||
}
|
||||
|
||||
.tags {
|
||||
text-align: left;
|
||||
|
||||
li {
|
||||
font-size: 0.5em;
|
||||
list-style-type: none;
|
||||
display: inline-block;
|
||||
background: $accent-color;
|
||||
margin-left: 0.1em;
|
||||
margin-right: 0.1em;
|
||||
}
|
||||
a {
|
||||
color: $text-over-accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
background-color: $text-color;
|
||||
color: $text-over-accent-color !important;
|
||||
padding: 0.25rem 0.5rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.2rem;
|
||||
border: none;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: $accent-color !important;
|
||||
@include transition();
|
||||
}
|
||||
}
|
||||
|
||||
.filled-button {
|
||||
background-color: $accent-color !important;
|
||||
color: $text-over-accent-color !important;
|
||||
@include transition();
|
||||
|
||||
&:hover,
|
||||
&:active {
|
||||
background-color: $hover-over-accent-color !important;
|
||||
@include transition();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue