rawfeed 0.0.1 → 0.1.1

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 (133) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +21 -0
  3. data/README.md +153 -1
  4. data/_data/resume.yml +184 -0
  5. data/_includes/alert +3 -0
  6. data/_includes/chart +34 -0
  7. data/_includes/details +57 -0
  8. data/_includes/enddetails +2 -0
  9. data/_includes/endtabs +2 -0
  10. data/_includes/image +61 -0
  11. data/_includes/layout/blog_search.html +18 -0
  12. data/_includes/layout/data.liquid +8 -0
  13. data/_includes/layout/disqus.html +30 -0
  14. data/_includes/layout/footer.html +34 -0
  15. data/_includes/layout/giscus.html +21 -0
  16. data/_includes/layout/google_analytics.html +11 -0
  17. data/_includes/layout/head.html +59 -0
  18. data/_includes/layout/header.html +143 -0
  19. data/_includes/layout/maintenance.html +30 -0
  20. data/_includes/layout/paginator.html +35 -0
  21. data/_includes/socials +22 -0
  22. data/_includes/tabs +94 -0
  23. data/_includes/toc +160 -0
  24. data/_includes/video +10 -0
  25. data/_layouts/blog.html +46 -0
  26. data/_layouts/contact.html +285 -0
  27. data/_layouts/default.html +351 -0
  28. data/_layouts/error.html +15 -0
  29. data/_layouts/home.html +58 -0
  30. data/_layouts/page.html +9 -0
  31. data/_layouts/post.html +103 -0
  32. data/_layouts/resume.html +239 -0
  33. data/_layouts/tag.html +22 -0
  34. data/_layouts/tag_posts.html +27 -0
  35. data/_sass/base/_index.scss +63 -0
  36. data/_sass/base/_reset.scss +10 -0
  37. data/_sass/base/_typography.scss +0 -0
  38. data/_sass/components/_badges.scss +24 -0
  39. data/_sass/components/_button.scss +17 -0
  40. data/_sass/components/_forms.scss +42 -0
  41. data/_sass/components/_gifs.scss +5 -0
  42. data/_sass/components/_index.scss +5 -0
  43. data/_sass/components/_markdown.scss +454 -0
  44. data/_sass/includes/_footer.scss +45 -0
  45. data/_sass/includes/_header.scss +240 -0
  46. data/_sass/includes/_highlight.scss +87 -0
  47. data/_sass/includes/_index.scss +9 -0
  48. data/_sass/includes/_maintenance.scss +16 -0
  49. data/_sass/includes/_paginator.scss +22 -0
  50. data/_sass/includes/_rouge-dark.scss +81 -0
  51. data/_sass/includes/_rouge-light.scss +121 -0
  52. data/_sass/includes/_terminal.scss +208 -0
  53. data/_sass/layouts/_blog.scss +96 -0
  54. data/_sass/layouts/_contact.scss +55 -0
  55. data/_sass/layouts/_default.scss +14 -0
  56. data/_sass/layouts/_error.scss +18 -0
  57. data/_sass/layouts/_home.scss +19 -0
  58. data/_sass/layouts/_index.scss +10 -0
  59. data/_sass/layouts/_page.scss +5 -0
  60. data/_sass/layouts/_post.scss +109 -0
  61. data/_sass/layouts/_resume.scss +330 -0
  62. data/_sass/layouts/_tag-posts.scss +48 -0
  63. data/_sass/layouts/_tag.scss +22 -0
  64. data/_sass/main.scss +128 -0
  65. data/_sass/theme/_dark.scss +79 -0
  66. data/_sass/theme/_index.scss +13 -0
  67. data/_sass/theme/_light.scss +56 -0
  68. data/assets/css/style.scss +5 -0
  69. data/assets/images/avatar_back.png +0 -0
  70. data/assets/images/avatar_dark.png +0 -0
  71. data/assets/images/avatar_light.png +0 -0
  72. data/assets/images/favicon.png +0 -0
  73. data/assets/js/avatar.js +50 -0
  74. data/assets/js/default.js +148 -0
  75. data/assets/js/terminal.js +18 -0
  76. data/assets/js/toc.js +22 -0
  77. data/assets/json/blog_search.json +16 -0
  78. data/assets/vendor/bootstrap/css/bootstrap-grid.css +4124 -0
  79. data/assets/vendor/bootstrap/css/bootstrap-grid.css.map +1 -0
  80. data/assets/vendor/bootstrap/css/bootstrap-grid.min.css +7 -0
  81. data/assets/vendor/bootstrap/css/bootstrap-grid.min.css.map +1 -0
  82. data/assets/vendor/bootstrap/css/bootstrap-grid.rtl.css +4123 -0
  83. data/assets/vendor/bootstrap/css/bootstrap-grid.rtl.css.map +1 -0
  84. data/assets/vendor/bootstrap/css/bootstrap-grid.rtl.min.css +7 -0
  85. data/assets/vendor/bootstrap/css/bootstrap-grid.rtl.min.css.map +1 -0
  86. data/assets/vendor/bootstrap/css/bootstrap-reboot.css +488 -0
  87. data/assets/vendor/bootstrap/css/bootstrap-reboot.css.map +1 -0
  88. data/assets/vendor/bootstrap/css/bootstrap-reboot.min.css +7 -0
  89. data/assets/vendor/bootstrap/css/bootstrap-reboot.min.css.map +1 -0
  90. data/assets/vendor/bootstrap/css/bootstrap-reboot.rtl.css +485 -0
  91. data/assets/vendor/bootstrap/css/bootstrap-reboot.rtl.css.map +1 -0
  92. data/assets/vendor/bootstrap/css/bootstrap-reboot.rtl.min.css +7 -0
  93. data/assets/vendor/bootstrap/css/bootstrap-reboot.rtl.min.css.map +1 -0
  94. data/assets/vendor/bootstrap/css/bootstrap-utilities.css +4266 -0
  95. data/assets/vendor/bootstrap/css/bootstrap-utilities.css.map +1 -0
  96. data/assets/vendor/bootstrap/css/bootstrap-utilities.min.css +7 -0
  97. data/assets/vendor/bootstrap/css/bootstrap-utilities.min.css.map +1 -0
  98. data/assets/vendor/bootstrap/css/bootstrap-utilities.rtl.css +4257 -0
  99. data/assets/vendor/bootstrap/css/bootstrap-utilities.rtl.css.map +1 -0
  100. data/assets/vendor/bootstrap/css/bootstrap-utilities.rtl.min.css +7 -0
  101. data/assets/vendor/bootstrap/css/bootstrap-utilities.rtl.min.css.map +1 -0
  102. data/assets/vendor/bootstrap/css/bootstrap.css +10878 -0
  103. data/assets/vendor/bootstrap/css/bootstrap.css.map +1 -0
  104. data/assets/vendor/bootstrap/css/bootstrap.min.css +7 -0
  105. data/assets/vendor/bootstrap/css/bootstrap.min.css.map +1 -0
  106. data/assets/vendor/bootstrap/css/bootstrap.rtl.css +10842 -0
  107. data/assets/vendor/bootstrap/css/bootstrap.rtl.css.map +1 -0
  108. data/assets/vendor/bootstrap/css/bootstrap.rtl.min.css +7 -0
  109. data/assets/vendor/bootstrap/css/bootstrap.rtl.min.css.map +1 -0
  110. data/assets/vendor/bootstrap/js/bootstrap.bundle.js +7075 -0
  111. data/assets/vendor/bootstrap/js/bootstrap.bundle.js.map +1 -0
  112. data/assets/vendor/bootstrap/js/bootstrap.bundle.min.js +7 -0
  113. data/assets/vendor/bootstrap/js/bootstrap.bundle.min.js.map +1 -0
  114. data/assets/vendor/bootstrap/js/bootstrap.esm.js +5202 -0
  115. data/assets/vendor/bootstrap/js/bootstrap.esm.js.map +1 -0
  116. data/assets/vendor/bootstrap/js/bootstrap.esm.min.js +7 -0
  117. data/assets/vendor/bootstrap/js/bootstrap.esm.min.js.map +1 -0
  118. data/assets/vendor/bootstrap/js/bootstrap.js +5249 -0
  119. data/assets/vendor/bootstrap/js/bootstrap.js.map +1 -0
  120. data/assets/vendor/bootstrap/js/bootstrap.min.js +7 -0
  121. data/assets/vendor/bootstrap/js/bootstrap.min.js.map +1 -0
  122. data/assets/vendor/simple-jekyll-search.js +433 -0
  123. data/assets/vendor/simple-jekyll-search.min.js +6 -0
  124. data/lib/rawfeed/draft.rb +31 -0
  125. data/lib/rawfeed/installer.rb +37 -0
  126. data/lib/rawfeed/layout.rb +138 -0
  127. data/lib/rawfeed/page.rb +33 -0
  128. data/lib/rawfeed/post.rb +60 -0
  129. data/lib/rawfeed/resume.rb +59 -0
  130. data/lib/rawfeed/utils.rb +74 -0
  131. data/lib/rawfeed/version.rb +1 -1
  132. data/lib/rawfeed.rb +5 -7
  133. metadata +144 -2
@@ -0,0 +1,87 @@
1
+ .code-block {
2
+ &-container {
3
+ margin-bottom: 1.5em;
4
+ border: 1px solid var(--border-color);
5
+ box-shadow: 0 2px 8px var(--shadow-color);
6
+ border-radius: 3px;
7
+ overflow: hidden;
8
+ .highlight {
9
+ margin: 0;
10
+ border-top-left-radius: 0;
11
+ border-top-right-radius: 0;
12
+ border-bottom-left-radius: 5px;
13
+ border-bottom-right-radius: 5px;
14
+ }
15
+ }
16
+ &-header {
17
+ display: flex;
18
+ justify-content: flex-end;
19
+ align-items: center;
20
+ background-color: var(--code-block-header-color);
21
+ padding: 0.5em 0.8em;
22
+
23
+ .copy-btn {
24
+ background-color: transparent;
25
+ border: none;
26
+ border-radius: 4px;
27
+ padding: 0.25rem 0.5rem;
28
+ cursor: pointer;
29
+ font-size: 1.1em;
30
+ transition: color 0.2s ease;
31
+ }
32
+ .fa-clipboard, .fa-check {
33
+ color: var(--text-color);
34
+ opacity: .7;
35
+ &:hover {
36
+ opacity: 0.5;
37
+ }
38
+ }
39
+ }
40
+ }
41
+
42
+ .highlight {
43
+ padding: 5px;
44
+ padding-bottom: 0.25rem;
45
+ pre {
46
+ border-radius: 3px;
47
+ overflow-x: auto;
48
+ // padding-bottom: 1rem;
49
+ scrollbar-gutter: stable;
50
+ box-sizing: content-box;
51
+ margin: 0;
52
+
53
+ // Opcional: Firefox (apenas para aparência)
54
+ scrollbar-width: thin;
55
+ scrollbar-color: var(--scrollbar-color) transparent;
56
+
57
+ /* estilizar o scrollbar (em navegadores que suportam) */
58
+ &::-webkit-scrollbar {
59
+ height: 10px; /* altura do scroll horizontal */
60
+ }
61
+ &::-webkit-scrollbar-thumb {
62
+ background: var(--scrollbar-color);
63
+ border-radius: 6px;
64
+ }
65
+ &::-webkit-scrollbar-track {
66
+ background: transparent;
67
+ }
68
+ }
69
+ td.code, .code {
70
+ display: block;
71
+ overflow-x: auto;
72
+ -webkit-overflow-scrolling: touch;
73
+ // padding-bottom: 1rem;
74
+ box-sizing: content-box;
75
+ scrollbar-gutter: stable;
76
+ }
77
+ }
78
+
79
+ /* Fallback: reserva extra invisível para navegadores que não obedecem padding + gutter */
80
+ .highlight td.code::after,
81
+ .highlight pre::after {
82
+ content: "";
83
+ display: block;
84
+ height: 12px; /* altura reservada (aprox. altura do scrollbar) */
85
+ visibility: hidden; /* não aparece, apenas cria espaço */
86
+ pointer-events: none;
87
+ }
@@ -0,0 +1,9 @@
1
+ @use "header";
2
+ @use "rouge-light";
3
+ @use "rouge-dark";
4
+ @use "highlight";
5
+ @use "footer";
6
+ @use "terminal";
7
+ @use "paginator";
8
+ @use "maintenance";
9
+
@@ -0,0 +1,16 @@
1
+ @use "../components/index";
2
+
3
+ .maintenance {
4
+ &-gif {
5
+ @extend %gif_border;
6
+ }
7
+
8
+ &-title {
9
+ color: black;
10
+ }
11
+
12
+ &-subtitle {
13
+ color: #595959;
14
+ font-family: "Inconsolata", monospace !important;
15
+ }
16
+ }
@@ -0,0 +1,22 @@
1
+ .blog-pagination {
2
+ margin-top: 50px;
3
+ .page-link {
4
+ border-radius: 0px;
5
+ border: none;
6
+ background-color: transparent;
7
+ color: var(--text-color);
8
+ &:hover, &:focus, &:active {
9
+ outline: none !important;
10
+ box-shadow: none !important;
11
+ }
12
+ }
13
+ &__newer, &__older {
14
+ color: var(--primary-color) !important;
15
+ &:hover {
16
+ color: var(--text-color) !important;
17
+ }
18
+ }
19
+ &__counter {
20
+ font-weight: bold;
21
+ }
22
+ }
@@ -0,0 +1,81 @@
1
+ [data-theme="dark"] {
2
+ .highlight {
3
+ background: #1e1e1e;
4
+ color: #f8f8f2;
5
+ overflow: auto;
6
+ // border-radius: 4px;
7
+ // padding: 10px 15px;
8
+ }
9
+
10
+ .highlight .hll { background-color: #404040; padding: 3px 0; } /* Mark the line */
11
+ .highlight .c { color: #88846f } /* Comment */
12
+ .highlight .err { color: #f92672 } /* Error */
13
+ .highlight .k { color: #ff79c6 } /* Keyword */
14
+ .highlight .l { color: #bd93f9 } /* Literal */
15
+ .highlight .n { color: #f8f8f2 } /* Name */
16
+ .highlight .o { color: #ff79c6 } /* Operator */
17
+ .highlight .p { color: #f8f8f2 } /* Punctuation */
18
+ .highlight .ch { color: #88846f } /* Comment.Hashbang */
19
+ .highlight .cm { color: #88846f } /* Comment.Multiline */
20
+ .highlight .cp { color: #ff79c6 } /* Comment.Preproc */
21
+ .highlight .cpf { color: #8be9fd } /* Comment.PreprocFile */
22
+ .highlight .c1 { color: #88846f } /* Comment.Single */
23
+ .highlight .cs { color: #ff79c6 } /* Comment.Special */
24
+ .highlight .gd { color: #ff1e1e; background-color: #ffa3a3; } /* Generic.Deleted */
25
+ .highlight .ge { font-style: italic } /* Generic.Emph */
26
+ .highlight .gh { color: #f8f8f2; font-weight: bold } /* Generic.Heading */
27
+ .highlight .gi { color: #0a3114; background-color: #caffc3; } /* Generic.Inserted */
28
+ .highlight .gp { color: #555555; font-weight: bold } /* Generic.Prompt */
29
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
30
+ .highlight .gu { color: #8be9fd; font-weight: bold } /* Generic.Subheading */
31
+ .highlight .kc { color: #ff79c6 } /* Keyword.Constant */
32
+ .highlight .kd { color: #8be9fd; font-style: italic } /* Keyword.Declaration */
33
+ .highlight .kn { color: #ff79c6 } /* Keyword.Namespace */
34
+ .highlight .kp { color: #ff79c6 } /* Keyword.Pseudo */
35
+ .highlight .kr { color: #ff79c6 } /* Keyword.Reserved */
36
+ .highlight .kt { color: #8be9fd } /* Keyword.Type */
37
+ .highlight .ld { color: #f1fa8c } /* Literal.Date */
38
+ .highlight .m { color: #bd93f9 } /* Literal.Number */
39
+ .highlight .s { color: #f1fa8c } /* Literal.String */
40
+ .highlight .na { color: #50fa7b } /* Name.Attribute */
41
+ .highlight .nb { color: #f8f8f2 } /* Name.Builtin */
42
+ .highlight .nc { color: #50fa7b; font-weight: bold } /* Name.Class */
43
+ .highlight .no { color: #bd93f9 } /* Name.Constant */
44
+ .highlight .nd { color: #50fa7b; font-weight: bold } /* Name.Decorator */
45
+ .highlight .ni { color: #f8f8f2 } /* Name.Entity */
46
+ .highlight .ne { color: #50fa7b; font-weight: bold } /* Name.Exception */
47
+ .highlight .nf { color: #50fa7b } /* Name.Function */
48
+ .highlight .nl { color: #f8f8f2 } /* Name.Label */
49
+ .highlight .nn { color: #f8f8f2 } /* Name.Namespace */
50
+ .highlight .nx { color: #50fa7b } /* Name.Other */
51
+ .highlight .py { color: #f8f8f2 } /* Name.Property */
52
+ .highlight .nt { color: #ff79c6 } /* Name.Tag */
53
+ .highlight .nv { color: #bd93f9 } /* Name.Variable */
54
+ .highlight .ow { color: #ff79c6; font-weight: bold } /* Operator.Word */
55
+ .highlight .w { color: #bbbbbb; background-color: transparent; } /* Text.Whitespace */
56
+ .highlight .mb { color: #bd93f9 } /* Literal.Number.Bin */
57
+ .highlight .mf { color: #bd93f9 } /* Literal.Number.Float */
58
+ .highlight .mh { color: #bd93f9 } /* Literal.Number.Hex */
59
+ .highlight .mi { color: #bd93f9 } /* Literal.Number.Integer */
60
+ .highlight .mo { color: #bd93f9 } /* Literal.Number.Oct */
61
+ .highlight .sa { color: #f1fa8c } /* Literal.String.Affix */
62
+ .highlight .sb { color: #f1fa8c } /* Literal.String.Backtick */
63
+ .highlight .sc { color: #f1fa8c } /* Literal.String.Char */
64
+ .highlight .dl { color: #f1fa8c } /* Literal.String.Delimiter */
65
+ .highlight .sd { color: #88846f } /* Literal.String.Doc */
66
+ .highlight .s2 { color: #f1fa8c } /* Literal.String.Double */
67
+ .highlight .se { color: #bd93f9 } /* Literal.String.Escape */
68
+ .highlight .sh { color: #f1fa8c } /* Literal.String.Heredoc */
69
+ .highlight .si { color: #f1fa8c } /* Literal.String.Interpol */
70
+ .highlight .sx { color: #f1fa8c } /* Literal.String.Other */
71
+ .highlight .sr { color: #50fa7b } /* Literal.String.Regex */
72
+ .highlight .s1 { color: #f1fa8c } /* Literal.String.Single */
73
+ .highlight .ss { color: #f1fa8c } /* Literal.String.Symbol */
74
+ .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
75
+ .highlight .fm { color: #50fa7b } /* Name.Function.Magic */
76
+ .highlight .vc { color: #bd93f9 } /* Name.Variable.Class */
77
+ .highlight .vg { color: #bd93f9 } /* Name.Variable.Global */
78
+ .highlight .vi { color: #bd93f9 } /* Name.Variable.Instance */
79
+ .highlight .vm { color: #bd93f9 } /* Name.Variable.Magic */
80
+ .highlight .il { color: #bd93f9 } /* Literal.Number.Integer.Long */
81
+ }
@@ -0,0 +1,121 @@
1
+ /* Generate with command: rougify style github > _sass/rouge.scss */
2
+ :root {
3
+ .highlight table td { padding: 5px; }
4
+ .highlight table pre { margin: 0; }
5
+ .highlight, .highlight .w {
6
+ color: #24292f;
7
+ background-color: #fbfbfb;
8
+ border-radius: 5px;
9
+ }
10
+ .highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt, .highlight .kv {
11
+ color: #cf222e;
12
+ }
13
+ .highlight .hll { background-color: #e1e1e1; padding: 3px 0; } /* Mark the line */
14
+ .highlight .gr {
15
+ color: #f6f8fa;
16
+ }
17
+ .highlight .gd {
18
+ color: #82071e;
19
+ background-color: #ffebe9;
20
+ }
21
+ .highlight .nb {
22
+ color: #953800;
23
+ }
24
+ .highlight .nc {
25
+ color: #953800;
26
+ }
27
+ .highlight .no {
28
+ color: #953800;
29
+ }
30
+ .highlight .nn {
31
+ color: #953800;
32
+ }
33
+ .highlight .sr {
34
+ color: #116329;
35
+ }
36
+ .highlight .na {
37
+ color: #116329;
38
+ }
39
+ .highlight .nt {
40
+ color: #116329;
41
+ }
42
+ .highlight .gi {
43
+ color: #116329;
44
+ background-color: #dafbe1;
45
+ }
46
+ .highlight .ges {
47
+ font-weight: bold;
48
+ font-style: italic;
49
+ }
50
+ .highlight .kc {
51
+ color: #0550ae;
52
+ }
53
+ .highlight .l, .highlight .ld, .highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
54
+ color: #0550ae;
55
+ }
56
+ .highlight .sb {
57
+ color: #0550ae;
58
+ }
59
+ .highlight .bp {
60
+ color: #0550ae;
61
+ }
62
+ .highlight .ne {
63
+ color: #0550ae;
64
+ }
65
+ .highlight .nl {
66
+ color: #0550ae;
67
+ }
68
+ .highlight .py {
69
+ color: #0550ae;
70
+ }
71
+ .highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi, .highlight .vm {
72
+ color: #0550ae;
73
+ }
74
+ .highlight .o, .highlight .ow {
75
+ color: #0550ae;
76
+ }
77
+ .highlight .gh {
78
+ color: #0550ae;
79
+ font-weight: bold;
80
+ }
81
+ .highlight .gu {
82
+ color: #0550ae;
83
+ font-weight: bold;
84
+ }
85
+ .highlight .s, .highlight .sa, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .se, .highlight .sh, .highlight .sx, .highlight .s1, .highlight .ss {
86
+ color: #0a3069;
87
+ }
88
+ .highlight .nd {
89
+ color: #8250df;
90
+ }
91
+ .highlight .nf, .highlight .fm {
92
+ color: #8250df;
93
+ }
94
+ .highlight .err {
95
+ color: #f6f8fa;
96
+ background-color: #82071e;
97
+ }
98
+ .highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cp, .highlight .cpf, .highlight .c1, .highlight .cs {
99
+ color: #6e7781;
100
+ }
101
+ .highlight .gl {
102
+ color: #6e7781;
103
+ }
104
+ .highlight .gt {
105
+ color: #6e7781;
106
+ }
107
+ .highlight .ni {
108
+ color: #24292f;
109
+ }
110
+ .highlight .si {
111
+ color: #24292f;
112
+ }
113
+ .highlight .ge {
114
+ color: #24292f;
115
+ font-style: italic;
116
+ }
117
+ .highlight .gs {
118
+ color: #24292f;
119
+ font-weight: bold;
120
+ }
121
+ }
@@ -0,0 +1,208 @@
1
+ $font-size: 18px;
2
+
3
+ @keyframes blink {
4
+ 50% {
5
+ opacity: 0;
6
+ }
7
+ }
8
+
9
+ .terminal {
10
+ width: min(960px, 96%);
11
+ color: var(--terminal-color);
12
+ max-width: 1100px;
13
+ border-radius: 5px;
14
+ box-shadow: var(--terminal-shadow);
15
+ position: relative;
16
+ display: flex;
17
+ flex-direction: column;
18
+ min-height: 500px;
19
+ max-height: 500px;
20
+ background-color: var(--terminal-bg-color); // default: #040902
21
+ overflow-y: hidden;
22
+ border: 1px solid var(--terminal-border-color);
23
+ font-family: "Inconsolata", monospace !important;
24
+ // font-family: 'Consolas', 'Courier New', monospace !important;
25
+
26
+ &-fullscreen {
27
+ position: fixed;
28
+ top: 0;
29
+ left: 0;
30
+ right: 0;
31
+ bottom: 11px;
32
+ width: 100% !important;
33
+ height: auto !important;
34
+ max-height: none !important;
35
+ max-width: none !important;
36
+ border-radius: 0;
37
+ z-index: 100;
38
+ }
39
+
40
+ &-header {
41
+ display: flex;
42
+ gap: 10px;
43
+ align-items: center;
44
+ padding: 12px 16px;
45
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
46
+ border-bottom: 1px solid var(--terminal-header-border-bottom-color);
47
+ backdrop-filter: blur(2px);
48
+ z-index: 2;
49
+
50
+ &__btn {
51
+ width: 12px;
52
+ height: 12px;
53
+ border-radius: 50%;
54
+ box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5) inset;
55
+ z-index: 3;
56
+ }
57
+
58
+ &__close {
59
+ background-color: var(--terminal-btn-close-bg-color);
60
+ z-index: 9999;
61
+ }
62
+
63
+ &__min {
64
+ background-color: var(--terminal-btn-min-bg-color);
65
+ }
66
+
67
+ &__max {
68
+ background-color: var(--terminal-btn-max-bg-color);
69
+ cursor: pointer;
70
+ }
71
+
72
+ &__title {
73
+ flex: 1;
74
+ text-align: center;
75
+ font-size: 13px;
76
+ color: var(--terminal-title-color);
77
+ margin-left: -11.5%;
78
+ }
79
+ }
80
+
81
+ &-screen {
82
+ overflow-y: auto;
83
+ font-weight: bold;
84
+ padding: 10px 4px;
85
+ letter-spacing: 2px;
86
+ text-transform: var(--terminal-screen-text-transform);
87
+ text-shadow: var(--terminal-screen-text-shadow);
88
+
89
+ &::after {
90
+ content: "";
91
+ z-index: 1;
92
+ position: absolute;
93
+ top: 0;
94
+ left: 0;
95
+ width: 100%;
96
+ height: 100%;
97
+ pointer-events: none;
98
+ background: var(--terminal-screen-after-bg-color);
99
+ background-size: 100% 4px;
100
+ opacity: 0.7;
101
+ }
102
+
103
+ .line-wrapper {
104
+ font-size: $font-size;
105
+ margin: 10px 0px;
106
+ color: var(--text-color);
107
+
108
+ #mcmd,
109
+ #mdesc {
110
+ font-weight: bold;
111
+ // border-bottom: 1px solid #fff;
112
+ margin-bottom: 10px;
113
+ }
114
+
115
+ #mcmd {
116
+ margin-right: 130px;
117
+ }
118
+
119
+ a {
120
+ color: var(--terminal-screen-link-color) !important;
121
+
122
+ &:hover {
123
+ color: var(--text-color) !important;
124
+ }
125
+ }
126
+ }
127
+
128
+ .line {
129
+ white-space: pre;
130
+ display: flex;
131
+ align-items: center;
132
+ font-size: $font-size;
133
+ line-height: 1.4;
134
+ }
135
+
136
+ .prompt {
137
+ // margin-top: .2em;
138
+ color: var(--terminal-prompt-text-color);
139
+ font-size: $font-size;
140
+ margin-right: 8px;
141
+ }
142
+
143
+ .input-wrapper {
144
+ position: relative;
145
+ display: inline-block;
146
+ flex: 1;
147
+ min-width: 50px;
148
+
149
+ span {
150
+ font-size: $font-size;
151
+ }
152
+ }
153
+
154
+ .input {
155
+ background: transparent;
156
+ border: none;
157
+ outline: none;
158
+ font-size: $font-size;
159
+ color: var(--terminal-prompt-text-color);
160
+ caret-color: transparent;
161
+ /* esconder caret real */
162
+ width: 100%;
163
+ padding: 0;
164
+ margin: 0;
165
+ line-height: 1.4;
166
+ white-space: nowrap;
167
+ letter-spacing: 2px;
168
+ text-transform: var(--terminal-screen-text-transform);
169
+ text-shadow: var(--terminal-screen-text-shadow);
170
+ font-weight: bold;
171
+ }
172
+
173
+ .measure {
174
+ position: absolute;
175
+ top: 0;
176
+ left: 0;
177
+ visibility: hidden;
178
+ white-space: pre;
179
+ font-size: $font-size;
180
+ line-height: 1.4;
181
+ pointer-events: none;
182
+ }
183
+
184
+ .cursor {
185
+ position: absolute;
186
+ top: 3px;
187
+ left: 0;
188
+ width: 9px;
189
+ height: 18px;
190
+ background-color: var(--terminal-cursor-color);
191
+ border-radius: 2px;
192
+ animation: blink 1s steps(2, end) infinite;
193
+ pointer-events: none;
194
+ transform: translateY(0.2px);
195
+ z-index: 2;
196
+ }
197
+
198
+ .scanlines {
199
+ position: absolute;
200
+ inset: 0;
201
+ pointer-events: none;
202
+ background-image: repeating-linear-gradient(180deg, rgba(0, 255, 0, 0.01) 0 1px, transparent 1px 3px);
203
+ mix-blend-mode: overlay;
204
+ opacity: 0.45;
205
+ z-index: 5;
206
+ }
207
+ }
208
+ }
@@ -0,0 +1,96 @@
1
+ @use "../components/index";
2
+
3
+ .blog {
4
+ // TODO: version: 0.2.0 - Create background light
5
+ // box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
6
+ // border: 1px solid #ddd;
7
+ // background-color: white;
8
+ // padding: 20px 10px;
9
+
10
+ &-subtitle {
11
+ font-size: 1.05rem;
12
+ font-weight: bold;
13
+ margin: 0px 0px 10px 0px;
14
+ }
15
+
16
+ &-list {
17
+ list-style: none;
18
+ padding: 0;
19
+ margin: 0;
20
+
21
+ li {
22
+ margin: 5px 0px;
23
+
24
+ @media (max-width: 578px) {
25
+ line-height: 1.5rem;
26
+ }
27
+ }
28
+
29
+ &__item {
30
+ .draft-badge {
31
+ @extend %draft-badge;
32
+ }
33
+ }
34
+
35
+ &__meta {
36
+ display: inline-block;
37
+ min-width: 100px !important;
38
+ font-family: "SUSE Mono", sans-serif;
39
+ font-optical-sizing: auto;
40
+ font-style: normal;
41
+ line-height: 1rem;
42
+ color: var(--text-muted-color);
43
+
44
+ @media (max-width: 578px) {
45
+ display: none;
46
+ }
47
+ }
48
+
49
+ &__link {
50
+ text-transform: none !important;
51
+ font-weight: bold;
52
+ text-decoration: underline;
53
+ }
54
+ }
55
+
56
+ &-search {
57
+ display: block;
58
+ max-height: 0;
59
+ opacity: 0;
60
+ overflow: hidden;
61
+ transition: max-height 400ms ease, opacity 300ms ease;
62
+ pointer-events: none;
63
+
64
+ &.is-open {
65
+ opacity: 1;
66
+ pointer-events: auto;
67
+ }
68
+
69
+ &__wapper {
70
+ display: flex;
71
+ align-items: center;
72
+ gap: 0;
73
+ margin: 0px 0px 35px 0px;
74
+
75
+ .blog-search__input {
76
+ flex: 1;
77
+ padding: 0.5rem;
78
+ color: var(--text-color);
79
+ width: 100%;
80
+ box-shadow: none;
81
+ border: none;
82
+ border-radius: 4px 0 0 4px;
83
+ border-bottom: 1px solid var(--text-color);
84
+ outline: none;
85
+ border-radius: 0px;
86
+ background-color: transparent;
87
+ height: auto;
88
+ }
89
+
90
+ .blog-search__btn-clean {
91
+ @extend %button;
92
+ }
93
+
94
+ }
95
+ }
96
+ }
@@ -0,0 +1,55 @@
1
+ @use "../components/index";
2
+
3
+ #contactMessageModal {
4
+
5
+ .modal-content,
6
+ .modal-header,
7
+ .modal-body {
8
+ border-radius: .1em !important;
9
+ }
10
+
11
+ .modal-content {
12
+ border: 1px solid var(--text-color);
13
+
14
+ .modal-body {
15
+ background-color: var(--bg-color);
16
+ color: var(--text-color);
17
+ }
18
+ }
19
+ }
20
+
21
+ .contact {
22
+ // box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
23
+ // border: 1px solid #ddd;
24
+ // background-color: white;
25
+ // padding: 20px 40px;
26
+
27
+ @extend %markdown;
28
+
29
+ &-message-error .modal-header {
30
+ background-color: #f8d7da;
31
+ color: #842029;
32
+ border-bottom: 1px solid #f5c2c7;
33
+ }
34
+
35
+ &-message-warning .modal-header {
36
+ background-color: #e7e7d1;
37
+ color: #7e760d;
38
+ border-bottom: 1px solid #e7e7d1;
39
+ }
40
+
41
+ &-message-success .modal-header {
42
+ background-color: #d1e7dd;
43
+ color: #0f5132;
44
+ border-bottom: 1px solid #badbcc;
45
+ }
46
+
47
+ &-form {
48
+ @extend %form;
49
+
50
+ &__name,
51
+ &__help {
52
+ margin-bottom: 50px;
53
+ }
54
+ }
55
+ }
@@ -0,0 +1,14 @@
1
+ .default {
2
+ margin: 0 auto;
3
+ transition: transform 0.3s ease;
4
+
5
+ .content {
6
+ margin-bottom: 30px !important;
7
+ }
8
+
9
+ .content code,
10
+ .content pre {
11
+ text-transform: none !important;
12
+ }
13
+
14
+ }