tubesync/app/common/static/styles/_template.scss

189 lines
4.1 KiB
SCSS
Raw Normal View History

2020-11-23 06:32:02 +00:00
html {
font-family: $font-family;
font-size: $font-size;
background-color: $background-colour;
color: $text-colour;
}
header {
2020-11-23 06:32:02 +00:00
background-color: $header-background-colour;
color: $header-text-colour;
padding: 1.3rem 0 1.5rem 0;
a {
text-decoration: none;
color: $header-text-colour;
&:hover {
text-decoration: none;
}
}
svg.tubesync-logo {
margin-right: 1rem;
float: left;
.logo-icon {
fill: $colour-near-white !important;
}
}
h1 {
margin: 0;
font-size: 3rem;
line-height: 2.7rem;
}
}
nav {
background-color: $nav-background-colour;
color: $nav-text-colour;
height: 3rem;
a {
font-size: 1.1rem !important;
color: $nav-text-colour;
text-decoration: none;
line-height: 3rem;
height: 3rem;
i {
font-size: 1.1rem !important;
}
&:hover {
background-color: $nav-link-background-hover-colour !important;
}
}
}
2020-11-23 06:32:02 +00:00
main {
padding: 2rem 0 2rem 0;
2020-11-28 04:06:46 +00:00
a {
color: $main-link-colour;
2020-11-28 05:58:23 +00:00
text-decoration: none;
2020-11-28 04:06:46 +00:00
&:hover {
color: $main-link-hover-colour;
}
}
2020-11-26 03:03:55 +00:00
h1 {
margin: 0;
2020-11-28 03:41:17 +00:00
padding: 0 0 0.5rem 0;
2020-11-26 03:03:55 +00:00
font-size: 2rem;
}
.btn {
width: 100%;
2020-11-28 03:41:17 +00:00
background-color: $main-button-background-colour;
2020-11-26 03:03:55 +00:00
color: $main-button-text-colour !important;
i {
font-size: 0.9rem;
}
&:hover {
2020-11-28 03:41:17 +00:00
background-color: $main-button-background-hover-colour;
}
}
.collection {
.collection-item {
display: block;
}
a.collection-item {
2020-11-28 04:06:46 +00:00
color: $main-link-colour;
text-decoration: none;
2020-11-28 03:41:17 +00:00
&:hover {
background-color: $collection-background-hover-colour !important;
color: $collection-text-hover-colour !important;
}
}
.no-items {
color: $collection-no-items-text-colour;
2020-11-26 03:03:55 +00:00
}
}
2020-12-06 01:22:16 +00:00
.mediacard {
.card-title {
padding: 3px 10px 3px 5px !important;
margin: 5px !important;
line-height: 1.5rem;
font-size: 1.5rem;
left: initial !important;
right: 0 !important;
max-width: 75% !important;
opacity: 80%;
background-color: $mediacard-title-background-colour !important;
color: $mediacard-title-text-colour !important;
span {
font-size: 1rem;
}
}
}
2020-11-28 04:06:46 +00:00
.pagination {
width: 100%;
padding-top: 1rem;
text-align: center;
a {
display: inline-block;
font-weight: bold;
text-decoration: none;
padding: 5px 10px 5px 10px;
margin: 0 3px 0 3px;
background-color: $pagination-background-colour;
color: $pagination-text-colour;
border: 2px $pagination-border-colour solid;
&:hover {
background-color: $pagination-background-hover-colour;
color: $pagination-text-hover-colour;
border: 2px $pagination-border-hover-colour solid;
}
}
.currentpage {
background-color: $pagination-current-background-colour;
color: $pagination-current-text-colour;
border: 2px $pagination-current-border-colour solid;
}
}
2020-11-28 05:58:23 +00:00
.infobox {
background-color: $infobox-background-colour;
color: $infobox-text-colour;
}
2020-11-23 06:32:02 +00:00
}
footer {
background-color: $footer-background-colour;
color: $footer-text-colour;
padding-top: 1.5rem;
p {
margin: 0;
padding-bottom: 1.5rem;
}
svg {
path {
fill: $footer-link-colour !important;
}
}
i {
font-size: 0.85rem !important;
}
a {
color: $footer-link-colour;
text-decoration: none;
&:hover {
2020-11-26 03:03:55 +00:00
color: $footer-link-hover-colour;
text-decoration: none;
}
}
2020-11-23 06:32:02 +00:00
}