Skip to content

Commit

Permalink
🐛 #982 - fix: fix invisibility of focussed skiplink.
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvandescheur committed Nov 28, 2023
1 parent 36f48ef commit e4dd24d
Show file tree
Hide file tree
Showing 9 changed files with 128 additions and 6 deletions.
13 changes: 13 additions & 0 deletions rijkshuisstijl/sass/components/skiplink/skiplink.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
@import '../../settings/all';
@import "microscope-sass/lib/color";
@import "microscope-sass/lib/typography";

.skiplink {
position: absolute;
top: -100vh;
left: -100vh;
}

.skiplink:focus {
@include body;
@include border(all, $color-primary);
@include color-background;
box-sizing: border-box;
font-family: $typography-font-family-text;
position: absolute;
top: 0;
left: 0;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions rijkshuisstijl/static/rijkshuisstijl/bundles/rh-css-print-l.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/******/ (function() { // webpackBootstrap
/******/ "use strict";
/******/ // The require scope
/******/ var __webpack_require__ = {};
/******/
/************************************************************************/
/******/ /* webpack/runtime/make namespace object */
/******/ !function() {
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ }();
/******/
/************************************************************************/
var __webpack_exports__ = {};
/*!*****************************************************************!*\
!*** ./rijkshuisstijl/sass/rijkshuisstijl-print-landscape.scss ***!
\*****************************************************************/
__webpack_require__.r(__webpack_exports__);
// extracted by mini-css-extract-plugin

/******/ })()
;
Loading

0 comments on commit e4dd24d

Please sign in to comment.