Lightweight CSS Framework for Building Apps and Websites https://crispy-css.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.3 KiB

6 years ago
4 years ago
6 years ago
4 years ago
6 years ago
6 years ago
4 years ago
6 years ago
5 years ago
6 years ago
4 years ago
4 years ago
5 years ago
6 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
6 years ago
  1. /**
  2. * site: header
  3. *
  4. *
  5. * @author Björn Hase, Tentakelfabrik
  6. * @license http://opensource.org/licenses/MIT The MIT License
  7. * @link https://github.com/tentakelfabrik/crispy-css
  8. *
  9. */
  10. @mixin site__header() {
  11. .header {
  12. max-width: 100%;
  13. a {
  14. text-decoration: none;
  15. .icon--big {
  16. font-size: 6rem;
  17. }
  18. &:hover {
  19. color: $crispy__color-primary;
  20. }
  21. }
  22. .group__item {
  23. display: block;
  24. margin: 0;
  25. @include crispy__media-sm() {
  26. margin-right: 10px;
  27. display: inline-block;
  28. }
  29. }
  30. .button--transparent {
  31. &:hover {
  32. .icon {
  33. fill: $crispy__color-white;
  34. }
  35. }
  36. }
  37. &--fixed {
  38. position: fixed;
  39. top: 0;
  40. left: 0;
  41. width: 100%;
  42. z-index: 101;
  43. }
  44. nav {
  45. a {
  46. color: $crispy__color-white;
  47. &:hover {
  48. color: $crispy__color-text;
  49. }
  50. }
  51. }
  52. }
  53. .page {
  54. .header {
  55. .icon {
  56. margin: -4px 0 0 0;
  57. }
  58. }
  59. }
  60. }