114 lines
2.4 KiB
SCSS
114 lines
2.4 KiB
SCSS
|
|
@import 'softbox';
|
|
@import 'choicebox';
|
|
@import 'home';
|
|
// MATERIALIZE CSS
|
|
@import 'materialize/sass/materialize.scss';
|
|
|
|
@import "fontawesome.scss";
|
|
@import "solid.scss";
|
|
@import "brands.scss";
|
|
$icons-padding: 5px;
|
|
.buttons::after{
|
|
content:"Aller";
|
|
}
|
|
.licence{
|
|
@extend %fa-icon;
|
|
@extend .fas;
|
|
&:before{
|
|
content: fa-content($fa-var-balance-scale);
|
|
padding-right: $icons-padding;
|
|
}
|
|
}
|
|
/* BUTTONS ICONS (before) */
|
|
.donate,a[href*="demo.cesium.app"],a[href*="helloasso.com"],a[href*="opencollective.com"],a[href*="liberapay.com"]{
|
|
|
|
&:before{
|
|
padding-right:5px;
|
|
content: fa-content($fa-var-donate);
|
|
}
|
|
|
|
}
|
|
|
|
a[href*="chat"],a[href*="forum"]{
|
|
font-family: "Font Awesome 5 Free";
|
|
font-weight: 900;
|
|
content: "\f086";
|
|
padding-right:5px;
|
|
}
|
|
a[href*="framasphere.org"]{
|
|
font-family: "Font Awesome 5 Brands";
|
|
font-weight: 900;
|
|
content: "\f791";
|
|
padding-right:5px;
|
|
}
|
|
a[href*="facebook.com"]{
|
|
font-family: "Font Awesome 5 Brands";
|
|
font-weight: 900;
|
|
content: "\f09a";
|
|
padding-right:5px;
|
|
}
|
|
a[href*="mastodon"]{
|
|
font-family: "Font Awesome 5 Brands";
|
|
font-weight: 900;
|
|
content: "\f4f6";
|
|
padding-right:5px;
|
|
}
|
|
a[href*="twitter.com"]{
|
|
font-family: "Font Awesome 5 Brands";
|
|
font-weight: 900;
|
|
content: "\f099";
|
|
padding-right:5px;
|
|
}
|
|
a[href*="youtube.com"],a[href*="peertube"],a[href*="tube.p2p.legal"]{
|
|
font-family: "Font Awesome 5 Free";
|
|
font-weight: 900;
|
|
content: "\f04b";
|
|
padding-right:5px;
|
|
}
|
|
a[href*="agenda"],a[href*="calendar"],a[href*="events"]{
|
|
font-family: "Font Awesome 5 Free";
|
|
font-weight: 900;
|
|
content: "\f073";
|
|
padding-right:5px;
|
|
}
|
|
/* BUTTONS TEXTS (after) */
|
|
a[href*="facebook.com"]::after{
|
|
content:"Facebook";
|
|
}
|
|
a[href*="agenda"]::after,a[href*="calendar"]::after,a[href*="events"]::after{
|
|
content:"Agenda";
|
|
}
|
|
a[href*="framasphere.org"]::after{
|
|
content:"diaspora";
|
|
}
|
|
a[href*="forum"]::after{
|
|
content:"Forum";
|
|
}
|
|
a[href*="chat"]::after{
|
|
content:"Chat";
|
|
}
|
|
a[href*="demo.cesium.app"]::after,a[href*="helloasso.com"]::after,a[href*="opencollective.com"]::after,a[href*="liberapay.com"]::after{
|
|
content:"Donner";
|
|
}
|
|
a[href*="mastodon"]::after{
|
|
content:"Mastodon";
|
|
}
|
|
a[href*="twitter.com"]::after{
|
|
content:"Twitter";
|
|
}
|
|
|
|
a[href*="peertube"]::after{
|
|
content:"Peertube";
|
|
}
|
|
a[href*="youtube.com"]::after{
|
|
content:"Youtube";
|
|
}
|
|
/* DEFINE DEFAULT USE FONT */
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.day.dark-scheme { background: #333; color: white; }
|
|
.night.dark-scheme { background: black; color: #ddd; }
|
|
}
|
|
|