structrdfal 0.1.5 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -6
  3. data/_data/lang.yml +126 -0
  4. data/_data/site-nav.yml +15 -0
  5. data/_includes/blogList.html +7 -1
  6. data/_includes/book.html +89 -0
  7. data/_includes/catag.html +1 -0
  8. data/_includes/comment-form.html +43 -0
  9. data/_includes/comment-holiday-message.html +1 -0
  10. data/_includes/comment-section.html +7 -0
  11. data/_includes/comment.html +34 -0
  12. data/{_layouts → _includes}/event.html +39 -34
  13. data/_includes/footer.html +15 -6
  14. data/_includes/google-analytics.html +11 -0
  15. data/_includes/header.html +9 -0
  16. data/_includes/keywords.html +18 -0
  17. data/_includes/mailto-explainer.html +4 -0
  18. data/_includes/nav.html +3 -1
  19. data/_includes/page-nav.html +6 -0
  20. data/_includes/page-title.html +3 -0
  21. data/_includes/search.html +16 -0
  22. data/_includes/styleScriptPath.html +10 -0
  23. data/_layouts/autopage_category.html +2 -2
  24. data/_layouts/autopage_tags.html +1 -1
  25. data/_layouts/bloghome.html +3 -1
  26. data/_layouts/default.html +25 -19
  27. data/_layouts/eformContactPage.html +24 -0
  28. data/_layouts/eventFormPage.html +126 -0
  29. data/_layouts/eventpost.html +2 -135
  30. data/_layouts/post.html +33 -0
  31. data/_layouts/refresh.html +8 -0
  32. data/_layouts/review.html +314 -0
  33. data/_layouts/sitehome.html +20 -10
  34. data/_plugins/asset_filter.rb +9 -0
  35. data/_plugins/comments.rb +133 -0
  36. data/_plugins/hex_filter.rb +12 -0
  37. data/_sass/structrdfal.scss +444 -0
  38. data/assets/{styles → css}/form.css +15 -8
  39. data/assets/css/style.scss +6 -0
  40. data/lib/structrdfal-jekyll-plugins +1 -0
  41. data/lib/structrdfal-jekyll-plugins.rb +2 -0
  42. metadata +41 -47
  43. data/assets/styles/structRDFaL.css +0 -177
  44. /data/assets/{styles → css}/HTML5BP-main.css +0 -0
  45. /data/assets/{styles → css}/normalize.css +0 -0
@@ -1,177 +0,0 @@
1
- html {
2
- color: #000; /* HTML5BP sets it to #222 why?? */
3
- }
4
- /* -----------------------------------------------------------------
5
- optimal line length for reading is 50-75 characters, add some
6
- left margin for menu and logo, this should probably be updated
7
- for responsiveness based on viewport and whatnot
8
- ----------------------------------------------------------------- */
9
- body {
10
- margin-left: 11em;
11
- max-width: 51em;
12
- }
13
- body > footer {
14
- padding: 0 2px 0 4px;
15
- background: #eee;
16
- }
17
-
18
- /* -----------------------------------------------------------------
19
- To make footers go to the bottom of the *window* and stay there
20
- regardless of page content length.
21
-
22
- Finally, an example that works!
23
- https://stackoverflow.com/questions/54598718/how-can-i-get-my-content-to-be-scroll-able-while-maintaining-my-header-and-foote
24
- ----------------------------------------------------------------- */
25
- html { height: 100%; }
26
- body {
27
- height: 100%;
28
- display: flex;
29
- flex-direction: column;
30
- }
31
- main {
32
- flex: auto;
33
- flex-grow: 1;
34
- overflow-y: auto;
35
- /* -------------------------------------------------------------
36
- This section is to push the scrollbar from the middle (right)
37
- of the window to the side where scrollbars normally live.
38
- Should use sass and variables for all the margin/padding numbers
39
- ------------------------------------------------------------- */
40
- box-sizing: border-box;
41
- margin-left: -11em;
42
- padding-left: 11em;
43
- width: 100vw;
44
- padding-right: calc(100vw - 62rem);
45
- /* padding-right: -moz-calc(100% - 62rem);
46
- padding-right: -webkit-calc(100% - 62rem); */
47
- }
48
- /* -----------------------------------------------------------------
49
- The tabindex/javascript trick used to allow spacebar scrolling of
50
- content parceled in the <main> also outlines the element in blue,
51
- but since we didn't tabindex it for accessibility reasons, the
52
- blue is just confusing.
53
- ----------------------------------------------------------------- */
54
- main:focus { outline: none; }
55
-
56
- /* -----------------------------------------------------------------
57
- positioning navigation elements
58
- ----------------------------------------------------------------- */
59
- #top-corner-logo {
60
- position: fixed;
61
- margin-left: -10.5rem;
62
- width: 9.5rem;
63
- top: 0.5rem;
64
- }
65
-
66
- #site-nav { /* bottom left corner */
67
- width: 9.5rem;
68
- position: fixed;
69
- margin-left: -10.5rem;
70
- border-top: none;
71
- bottom: 0.5rem;
72
- }
73
- #page-nav { /* top left corner */
74
- width: 6.5rem;
75
- position: fixed;
76
- margin-left: -10.5rem;
77
- border-top: none;
78
- top: 4rem;
79
- }
80
- nav#site-nav a, nav#page-nav a {
81
- display: block;
82
- text-align: right;
83
- text-decoration: none;
84
- font: Optima, Gill Sans, Arial, sans-serif;
85
- font-weight: bold;
86
- padding: 2px 4px 2px 0;
87
- margin-top: 2px;
88
- background: #ddd;
89
- color: #000;
90
- }
91
- nav#site-nav a:hover, nav#page-nav a:hover { background: #bbf; }
92
- nav#site-nav a:active, nav#page-nav a:active { background: #fbb; }
93
- /* -----------------------------------------------------------------
94
- If the current page is in the menu, it should not be a link so
95
- it is not an href and we differentiate it visually as well.
96
- ----------------------------------------------------------------- */
97
- nav#site-nav a.nav-self, nav#page-nav a.nav-self {
98
- background: linear-gradient(to right, #ddd, #ddd, white, white);
99
- }
100
- /* -----------------------------------------------------------------
101
- If the current page is in the directory of a menu item, it should
102
- still highlight as a link.
103
- ----------------------------------------------------------------- */
104
- nav#site-nav a.nav-sub,
105
- nav#page-nav a.nav-sub {
106
- background: linear-gradient(to right, #ddd, white);
107
- }
108
- nav#site-nav a.nav-sub:hover,
109
- nav#page-nav a.nav-sub:hover {
110
- background: linear-gradient(to right, #bbf, white);
111
- }
112
- nav#site-nav a.nav-sub:active,
113
- nav#page-nav a.nav-sub:active {
114
- background: linear-gradient(to right, #fbb, white);
115
- }
116
-
117
- /* -----------------------------------------------------------------
118
- Styles for the pager buttons recommended by the
119
- jekyll-paginate-v2 author, modified to make the whole boxed
120
- area clickable and more clickability feedback.
121
- ----------------------------------------------------------------- */
122
- nav.blog-pager ul {
123
- text-align: center;
124
- list-style: none;
125
- padding-left: 0;
126
- }
127
- nav.blog-pager ul li {
128
- display: inline;
129
- }
130
- nav.blog-pager ul li a {
131
- display: inline-block;
132
- border: 1px solid black;
133
- padding: 10px 15px;
134
- margin: 0 1px;
135
- }
136
- nav.blog-pager ul li a:hover:not([rel="self"]),
137
- nav.blog-pager ul li a:focus:not([rel="self"]) {
138
- border-color:blue;
139
- color: blue;
140
- }
141
- nav.blog-pager ul li a:active:not([rel="self"]) {
142
- border-color: red;
143
- color: red;
144
- }
145
-
146
- /* -----------------------------------------------------------------
147
- styling the list of categories and tags
148
- ----------------------------------------------------------------- */
149
- .categories, .tags {
150
- display: inline-block;
151
- color: black;
152
- padding: 0.5px 6px;
153
- border-radius: 3px;
154
- }
155
- .categories { box-shadow: inset 0 0 6px #000; }
156
- .tags { box-shadow: inset 0 0 6px #666; }
157
- a.categories, a.tags,
158
- .categories:hover, .tags:hover,
159
- .categories:active, .tags:active { text-decoration: none; }
160
- .categories:hover { box-shadow: inset 0 0 7.5px #009; }
161
- .tags:hover { box-shadow: inset 0 0 7.5px #55f; }
162
- .categories:active { box-shadow: inset 0 0 15px #f00; }
163
- .tags:active { box-shadow: inset 0 0 15px #f55; }
164
- .catag:last-child:after { /* line break after tags and categories*/
165
- content: ' ';
166
- display: block;
167
- }
168
-
169
- /* -----------------------------------------------------------------
170
- Styles for the blog lists
171
- ----------------------------------------------------------------- */
172
- article > header > h3,
173
- article > header > h1
174
- { margin-bottom: 0; }
175
-
176
- .related h2 { margin-bottom: 0; }
177
- .related ul { margin-top: 0; }
File without changes
File without changes