Skip to content

Commit 77ca3b4

Browse files
committed
cs fix, static-analysis and style
1 parent dda48fc commit 77ca3b4

188 files changed

Lines changed: 1971 additions & 2004 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config/autoload/app.global.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22

33
declare(strict_types=1);
4+
45
$baseUrl = 'https://new.dotkernel.com/';
5-
$app = [
6+
$app = [
67
'baseUrl' => $baseUrl,
7-
'name' => 'Dotkernel Light | PSR-15 compliant application',
8-
'meta' => [
8+
'name' => 'Dotkernel Light | PSR-15 compliant application',
9+
'meta' => [
910
'title' => 'Dotkernel | Headless Platform for modern web application',
1011
'description' => 'Dotkernel is a Headless Platform for building modern web applications
1112
Dotkernel is a collection of applications (skeletons) that use a middleware-first architecture
1213
built on top of the Mezzio microframework using Laminas components. The goal is to provide a
1314
pre-configured environment for app',
14-
1515
'image' => $baseUrl . 'uploads/opengraph/dotkernel.png',
1616
'type' => 'website',
1717
'siteName' => 'Dotkernel Light',

public/css/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App/assets/scss/components/_general.scss

Lines changed: 128 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
--color-surface: #FFFFFF;
1010
--font-heading: 'Montserrat', sans-serif;
1111
--font-body: 'Source Sans Pro', sans-serif;
12+
--font-mono: 'Fira Code', 'Courier New', monospace;
1213
--radius: 10px;
1314
--transition: all 0.2s ease;
1415
}
@@ -71,78 +72,76 @@ label {
7172
font-weight: 500;
7273
}
7374

75+
/* layout - sticky footer */
7476
#wrapper {
7577
min-height: 100%;
7678
height: auto !important;
7779
margin: 0 auto -115px;
7880
background: var(--color-bg);
7981
}
8082

83+
#push,
84+
.app-footer {
85+
height: 115px;
86+
}
87+
8188
.navbar {
8289
margin-bottom: 0;
8390
background-color: var(--color-surface);
8491
border: 0;
8592
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
8693
padding: 14px 0;
94+
}
8795

88-
.navbar-brand {
89-
img {
90-
display: block;
91-
width: 170px;
92-
height: 29px;
93-
}
94-
}
96+
.navbar .navbar-brand img {
97+
display: block;
98+
width: 170px;
99+
height: 29px;
95100
}
96101

97102
@media (max-width: 767px) {
98-
.navbar {
99-
.navbar-collapse {
100-
margin-top: 10px;
101-
102-
.dropdown-menu {
103-
border: none;
104-
background-color: transparent;
105-
}
106-
}
103+
.navbar .navbar-collapse {
104+
margin-top: 10px;
107105
}
108-
}
109106

110-
.app-footer,
111-
#push {
112-
height: 115px;
107+
.navbar .navbar-collapse .dropdown-menu {
108+
border: none;
109+
background-color: transparent;
110+
}
113111
}
114112

115113
.app-footer {
116114
padding: 30px 50px;
117115
background: var(--color-surface);
118116
border-top: 1px solid var(--color-border);
117+
}
119118

120-
p {
121-
margin-bottom: 0;
122-
font-size: 14px;
123-
color: var(--color-text-muted);
124-
}
119+
.app-footer p {
120+
margin-bottom: 0;
121+
font-size: 14px;
122+
color: var(--color-text-muted);
123+
}
125124

126-
.enjoy {
127-
margin-bottom: 5px;
128-
font-size: 1.25rem;
129-
color: var(--color-text);
130-
font-family: var(--font-heading);
131-
font-weight: 600;
132-
}
125+
.app-footer .enjoy {
126+
margin-bottom: 5px;
127+
font-size: 1.25rem;
128+
color: var(--color-text);
129+
font-family: var(--font-heading);
130+
font-weight: 600;
133131
}
134132

135133
.alert {
136134
border: none;
137135
border-radius: var(--radius);
136+
}
138137

139-
ul {
140-
display: block;
141-
margin: 0;
142-
padding-left: 15px;
143-
}
138+
.alert ul {
139+
display: block;
140+
margin: 0;
141+
padding-left: 15px;
144142
}
145143

144+
/* forms */
146145
input {
147146
padding: 12px 16px;
148147
background: var(--color-surface);
@@ -177,4 +176,96 @@ input[type="submit"]:hover {
177176
border-color: var(--color-primary-hover);
178177
transform: translateY(-1px);
179178
box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
179+
}
180+
181+
/* blog post content (importat din WP) */
182+
.post-content .EnlighterJSRAW {
183+
display: block;
184+
background-color: #1e1e2e;
185+
color: #cdd6f4;
186+
padding: 1rem 1.25rem;
187+
border-radius: var(--radius);
188+
font-family: var(--font-mono);
189+
font-size: 0.875rem;
190+
line-height: 1.5;
191+
overflow-x: auto;
192+
white-space: pre;
193+
margin-bottom: 1.5rem;
194+
}
195+
196+
.post-content .wp-block-heading {
197+
font-family: var(--font-heading);
198+
color: var(--color-text);
199+
margin-top: 2rem;
200+
margin-bottom: 1rem;
201+
}
202+
203+
.post-content .wp-block-heading a {
204+
color: inherit;
205+
}
206+
207+
.post-content .wp-block-heading a:hover {
208+
color: var(--color-primary);
209+
}
210+
211+
.post-content h2.wp-block-heading {
212+
font-size: 1.5rem;
213+
padding-bottom: 0.5rem;
214+
border-bottom: 2px solid var(--color-border);
215+
}
216+
217+
.post-content h4.wp-block-heading {
218+
font-size: 1.1rem;
219+
color: var(--color-text-muted);
220+
}
221+
222+
.post-content .wp-block-quote {
223+
border-left: 4px solid var(--color-primary);
224+
background-color: var(--color-surface);
225+
padding: 0.75rem 1.25rem;
226+
margin: 1.25rem 0;
227+
border-radius: 0 var(--radius) var(--radius) 0;
228+
font-style: italic;
229+
color: var(--color-text-muted);
230+
}
231+
232+
.post-content .wp-block-quote p {
233+
margin-bottom: 0;
234+
}
235+
236+
.post-content .wp-block-quote p + p {
237+
margin-top: 0.5rem;
238+
}
239+
240+
.post-content .wp-block-list {
241+
margin-bottom: 1.25rem;
242+
padding-left: 1.5rem;
243+
color: var(--color-text-muted);
244+
}
245+
246+
.post-content .wp-block-list li {
247+
margin-bottom: 0.4rem;
248+
}
249+
250+
.post-content .wp-block-list a {
251+
text-decoration: underline;
252+
}
253+
254+
.post-content p code,
255+
.post-content li code {
256+
background-color: var(--color-border);
257+
color: var(--color-accent);
258+
padding: 0.15rem 0.4rem;
259+
border-radius: 4px;
260+
font-size: 0.875em;
261+
font-family: var(--font-mono);
262+
}
263+
264+
.post-content p a {
265+
text-decoration: underline;
266+
text-decoration-color: rgba(79, 70, 229, 0.4);
267+
}
268+
269+
.post-content p a:hover {
270+
text-decoration-color: var(--color-primary);
180271
}

0 commit comments

Comments
 (0)