privacyguides.org/assets/css/style.scss
Vince 520e28626a Implement Sass (#568)
* Move all images to assets/img

* Move all scripts to assets/js

* Move all webfonts to assets/webfonts

* Move all files to assets/files

* Move css to assets/css and add imports

* Adjust all references to assets folder

* Fix tor icon path

* Rewrite custom css to sass and add variables

* Change ?v on style.css to 5.

* Enable Sass minification

* Remove CryptoPaper-full.7z
2018-11-07 21:52:56 +01:00

122 lines
1.8 KiB
SCSS

---
---
@import '_vars';
@import 'bootstrap';
@import 'flag-icon';
@import 'fontawesome';
@import 'sortable-theme-bootstrap';
/* BS4 */
.card {
box-shadow: $card-shadow !important;
}
/* Make links and long strings responsive */
a,
.long-string-list {
li {
word-wrap: break-word;
}
}
/*.card-success, */
.card-success {
.card-header {
border-color: $card-succes-border !important;
}
}
/*.card-primary, */
.card-primary {
.card-header {
border-color: $card-primary-border !important;
}
}
/*.card-warning, */
.card-warning {
.card-header {
border-color: $card-warning-border !important;
}
}
.blockquote {
border-left: 5px solid $blockquote-border;
font-size: 1.2rem;
line-height: 1.35;
padding: 10px 20px;
}
.theme-dropdown {
.dropdown-menu {
display: block;
margin-bottom: 20px;
position: static;
}
}
.theme-showcase {
p > .btn {
margin: 5px 0;
}
.navbar {
.container {
width: auto;
}
}
}
.anchor {
&:target {
margin-top: -4rem;
padding-top: 4rem;
}
}
.anchor-icon {
font-size: .8em;
}
.panel-item {
float: right;
margin-left: 5px;
}
.share-btn {
border: 0;
box-shadow: $share-btn-shadow;
color: $share-btn;
display: inline-block;
opacity: .9;
outline: none;
padding: 1em;
text-align: center;
width: 8em;
&:hover {
color: $share-btn-hover;
}
&:active {
box-shadow: none;
color: $share-btn-active;
outline: none;
position: relative;
top: 2px;
}
}
.twitter { background: $twitter; }
.google-plus { background: $google; }
.facebook { background: $facebook; }
.stumbleupon { background: $stumbleupon; }
.reddit { background: $reddit; }
.linkedin { background: $linkedin; }
.email { background: $email; }
.diaspora { background: $diaspora; }