@angelscmf/front 1.0.17 → 1.0.19
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.
- package/package.json +1 -2
- package/sass/AngelsDesign.scss +3 -1
- package/sass/_AngelsHTMLElements.scss +222 -193
- package/sass/_AngelsPageLayout.scss +7 -99
- package/sass/_AngelsTheme.scss +18 -19
- package/sass/_AngelsVariables.scss +8 -6
- package/sass/angelsTags/_a-block.scss +7 -6
- package/sass/angelsTags/_a-infra.scss +41 -0
- package/sass/angelsTags/_a-page.scss +64 -0
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angelscmf/front",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"a-dev-watching": "gulp angelsDevWatching",
|
|
9
9
|
"a-static-server": "php -S localhost:8000 -t ./public",
|
|
10
|
-
"a-static-server--": "php -S localhost:8000 -t ./public ./public/angels_site_router.php",
|
|
11
10
|
"build": "tsup",
|
|
12
11
|
"publish": "npm publish --access public",
|
|
13
12
|
"test": "echo \"Error: no test specified\" && exit 1"
|
package/sass/AngelsDesign.scss
CHANGED
|
@@ -1,193 +1,222 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
@use "AngelsVariables";
|
|
21
|
-
|
|
22
|
-
* {
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
button
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
:
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
:
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
:
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Angels' CMF HTML Elements styles.
|
|
3
|
+
*
|
|
4
|
+
* @version 2025-07-31
|
|
5
|
+
* * Adds `a` styles.
|
|
6
|
+
* * Adds `button` styles.
|
|
7
|
+
* * Adds `h1.a-h1` styles.
|
|
8
|
+
* * Adds `h2.a-h2` styles.
|
|
9
|
+
* * Adds `h3.a-h3` styles.
|
|
10
|
+
* * Adds `h4.a-h4` styles.
|
|
11
|
+
* * Adds `h5.a-h5` styles.
|
|
12
|
+
* * Adds `h6.a-h6` styles.
|
|
13
|
+
* * Adds `input` styles.
|
|
14
|
+
* * Adds `p` styles.
|
|
15
|
+
* * Adds `table.a-table` styles.
|
|
16
|
+
* * Adds `table.a-table td` styles.
|
|
17
|
+
* * Adds `textarea` styles.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
@use "AngelsVariables";
|
|
21
|
+
|
|
22
|
+
* {
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[hidden] {
|
|
27
|
+
// Hidden tags should be hidden always.
|
|
28
|
+
display: none !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:root {
|
|
32
|
+
--a-link-textColor: #551c74;
|
|
33
|
+
--a-link-hoverTextColor: #8F54B0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
a {
|
|
37
|
+
color: var(--a-link-textColor);
|
|
38
|
+
|
|
39
|
+
&:hover {
|
|
40
|
+
color: var(--a-link-hoverTextColor);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:focus {
|
|
44
|
+
box-shadow: var(--a-focusBoxShadow);
|
|
45
|
+
outline-color: var(--a-focusOutlineColor);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:root {
|
|
50
|
+
--a-button-background: #fff;
|
|
51
|
+
--a-button-color: #8F54B0;
|
|
52
|
+
/* 1/2em */
|
|
53
|
+
--a-button-gap: var(--a-halfSize);
|
|
54
|
+
/* 2em */
|
|
55
|
+
--a-button-minHeight: var(--a-doubleSize);
|
|
56
|
+
--a-button-paddingLeft: var(--a-baseSize);
|
|
57
|
+
--a-button-paddingRight: var(--a-baseSize);
|
|
58
|
+
--a-button-paddingTop: var(--a-halfSize);
|
|
59
|
+
--a-button-paddingBottom: var(--a-halfSize);
|
|
60
|
+
--a-button-borderColor: #8F54B0;
|
|
61
|
+
--a-button-borderStyle: outset;
|
|
62
|
+
--a-button-borderWidth: 2px;
|
|
63
|
+
--a-button-hoverBackground: #551C74;
|
|
64
|
+
--a-button-hoverTextColor: #fff;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
button {
|
|
68
|
+
align-items: center;
|
|
69
|
+
background: var(--a-button-background);
|
|
70
|
+
border-radius: var(--a-borderRadius);
|
|
71
|
+
border-color: var(--a-button-borderColor);
|
|
72
|
+
border-style: var(--a-button-borderStyle);
|
|
73
|
+
border-width: var(--a-button-borderWidth);
|
|
74
|
+
color: var(--a-button-color);
|
|
75
|
+
display: inline-flex;
|
|
76
|
+
gap: var(--a-button-gap);
|
|
77
|
+
min-height: var(--a-button-minHeight);
|
|
78
|
+
padding-left: calc(var(--a-button-paddingLeft) - var(--a-button-borderWidth));
|
|
79
|
+
padding-right: calc(var(--a-button-paddingRight) - var(--a-button-borderWidth));
|
|
80
|
+
padding-top: calc(var(--a-button-paddingTop) - var(--a-button-borderWidth));
|
|
81
|
+
padding-bottom: calc(var(--a-button-paddingBottom) - var(--a-button-borderWidth));
|
|
82
|
+
transition: all 0.3s ease;
|
|
83
|
+
|
|
84
|
+
&:enabled {
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:hover {
|
|
89
|
+
background: var(--a-button-hoverBackground);
|
|
90
|
+
color: var(--a-button-hoverTextColor);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
:root {
|
|
95
|
+
--a-submit-background: #8F54B0;
|
|
96
|
+
--a-submit-borderColor: #551C74;
|
|
97
|
+
--a-submit-borderWidth: 2px;
|
|
98
|
+
--a-submit-color: #fff;
|
|
99
|
+
--a-submit-hoverBackground: #551C74;
|
|
100
|
+
--a-submit-hoverTextColor: #fff;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
button[type=submit] {
|
|
104
|
+
background: var(--a-submit-background);
|
|
105
|
+
border-color: var(--a-submit-borderColor);
|
|
106
|
+
border-width: var(--a-submit-borderWidth);
|
|
107
|
+
color: var(--a-submit-color);
|
|
108
|
+
|
|
109
|
+
&:hover {
|
|
110
|
+
background: var(--a-submit-hoverBackground);
|
|
111
|
+
color: var(--a-submit-hoverTextColor);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:root {
|
|
116
|
+
--a-headers-color: orangered;
|
|
117
|
+
--a-headers-lineHeight: 2;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
:root {
|
|
121
|
+
--a-header1-lineHeight: var(--a-headers-lineHeight);
|
|
122
|
+
--a-header1-margin: 0;
|
|
123
|
+
--a-header1-size: #{AngelsVariables.$aFontSize + 6};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
h1,
|
|
127
|
+
h1.a-h1 {
|
|
128
|
+
color: var(--a-header1-color, --a-headers-color);
|
|
129
|
+
font-size: var(--a-header1-size);
|
|
130
|
+
margin: var(--a-header1-margin);
|
|
131
|
+
padding: 0;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:root {
|
|
135
|
+
--a-header2-lineHeight: var(--a-headers-lineHeight);
|
|
136
|
+
--a-header2-margin: 0;
|
|
137
|
+
--a-header2-size: #{AngelsVariables.$aFontSize + 5};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
h2,
|
|
141
|
+
h2.a-h2 {
|
|
142
|
+
color: var(--a-header2-color, --a-headers-color);
|
|
143
|
+
font-size: var(--a-header2-size);
|
|
144
|
+
font-weight: normal;
|
|
145
|
+
letter-spacing: 2px;
|
|
146
|
+
margin: var(--a-header2-margin);
|
|
147
|
+
padding: 0;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
:root {
|
|
151
|
+
--a-header3-lineHeight: var(--a-headers-lineHeight);
|
|
152
|
+
--a-header3-margin: 0;
|
|
153
|
+
--a-header3-size: #{AngelsVariables.$aFontSize + 4};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
h3,
|
|
157
|
+
h3.a-h3 {
|
|
158
|
+
color: var(--a-header3-color, --a-headers-color);
|
|
159
|
+
font-size: var(--a-header3-size);
|
|
160
|
+
font-weight: normal;
|
|
161
|
+
letter-spacing: 2px;
|
|
162
|
+
margin: var(--a-header3-margin);
|
|
163
|
+
padding: 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
:root {
|
|
167
|
+
--a-header4-lineHeight: var(--a-headers-lineHeight);
|
|
168
|
+
--a-header4-margin: 0;
|
|
169
|
+
--a-header4-size: #{AngelsVariables.$aFontSize + 3};
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
h4,
|
|
173
|
+
h4.a-h4 {
|
|
174
|
+
font-size: var(--a-header4-size);
|
|
175
|
+
margin: var(--a-header4-margin);
|
|
176
|
+
padding: 0;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
:root {
|
|
180
|
+
--a-header5-lineHeight: var(--a-headers-lineHeight);
|
|
181
|
+
--a-header5-margin: 0;
|
|
182
|
+
--a-header5-size: #{AngelsVariables.$aFontSize + 2};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
h5,
|
|
186
|
+
h5.a-h5 {
|
|
187
|
+
font-size: var(--a-header5-size);
|
|
188
|
+
margin: var(--a-header5-margin);
|
|
189
|
+
padding: 0;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:root {
|
|
193
|
+
--a-header6-lineHeight: var(--a-headers-lineHeight);
|
|
194
|
+
--a-header6-margin: 0;
|
|
195
|
+
--a-header6-size: #{AngelsVariables.$aFontSize + 1};
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
h6,
|
|
199
|
+
h6.a-h6 {
|
|
200
|
+
font-size: var(--a-header6-size);
|
|
201
|
+
margin: var(--a-header6-margin);
|
|
202
|
+
padding: 0;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
input {
|
|
206
|
+
border-radius: var(--a-borderRadius);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
p {
|
|
210
|
+
text-align: justify;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
table.a-table {
|
|
214
|
+
|
|
215
|
+
td {
|
|
216
|
+
padding: .1em var(--a-halfSize);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
textarea {
|
|
221
|
+
border-radius: var(--a-borderRadius);
|
|
222
|
+
}
|
|
@@ -19,117 +19,25 @@ html {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
:root {
|
|
22
|
-
--a-
|
|
22
|
+
--a-backgorundColor: #{AngelsVariables.$aMainBackgroundColor};
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
body {
|
|
26
|
-
background-color: var(--a-
|
|
27
|
-
color: var(--a-
|
|
28
|
-
font-family: var(--a-
|
|
29
|
-
font-size: var(--a-
|
|
30
|
-
line-height: var(--a-
|
|
26
|
+
background-color: var(--a-backgorundColor);
|
|
27
|
+
color: var(--a-textColor);
|
|
28
|
+
font-family: var(--a-fontFamily);
|
|
29
|
+
font-size: var(--a-fontSize);
|
|
30
|
+
line-height: var(--a-lineHeight);
|
|
31
31
|
min-height: 100vh;
|
|
32
32
|
min-width: AngelsVariables.$a-mobile-min-width;
|
|
33
33
|
margin: 0;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
:root {
|
|
37
|
-
--a-page-background-color: var(--a-backgorund-color);
|
|
38
|
-
--a-page-gap: 0;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
a-page {
|
|
42
|
-
background-color: var(--a-page-background-color);
|
|
43
|
-
display: flex;
|
|
44
|
-
flex-direction: column;
|
|
45
|
-
gap: var(--a-page-gap);
|
|
46
|
-
min-height: 100vh;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
:root {
|
|
50
|
-
--a-page-header-background-color: #{AngelsVariables.$a-second-background-color};
|
|
51
|
-
--a-page-header-text-color: #{AngelsVariables.$a-second-text-color};
|
|
52
|
-
--a-page-header-padding: 1em;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
a-page-header {
|
|
56
|
-
background-color: var(--a-page-header-background-color);
|
|
57
|
-
color: var(--a-page-header-text-color);
|
|
58
|
-
display: flex;
|
|
59
|
-
padding: var(--a-page-header-padding);
|
|
60
|
-
|
|
61
|
-
&:empty {
|
|
62
|
-
display: none;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
:root {
|
|
67
|
-
--a-page-body-gap: var(--a-4x-size);
|
|
68
|
-
--a-page-body-padding: var(--a-4x-size) var(--a-size);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
a-page-body {
|
|
72
|
-
display: flex;
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
flex-grow: 1;
|
|
75
|
-
gap: var(--a-page-body-gap);
|
|
76
|
-
padding: var(--a-page-body-padding);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
:root {
|
|
80
|
-
--a-page-footer-background-color: #{AngelsVariables.$a-second-background-color};
|
|
81
|
-
--a-page-footer-padding: var(--a-size);
|
|
82
|
-
--a-page-footer-gap: var(--a-double-size);
|
|
83
|
-
--a-page-footer-text-color: #{AngelsVariables.$a-second-text-color};
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
a-page-footer {
|
|
87
|
-
background-color: var(--a-page-footer-background-color);
|
|
88
|
-
color: var(--a-page-footer-text-color);
|
|
89
|
-
display: grid;
|
|
90
|
-
font-family: monospace;
|
|
91
|
-
gap: var(--a-page-footer-gap);
|
|
92
|
-
padding: var(--a-page-footer-padding);
|
|
93
|
-
|
|
94
|
-
&:empty {
|
|
95
|
-
display: none;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
a-infra {
|
|
100
|
-
color: steelblue;
|
|
101
|
-
display: flex;
|
|
102
|
-
gap: var(--a-double-size);
|
|
103
|
-
flex-wrap: wrap;
|
|
104
|
-
align-items: flex-start;
|
|
105
|
-
justify-content: center;
|
|
106
|
-
|
|
107
|
-
address {
|
|
108
|
-
font-style: normal;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
a-infral {
|
|
113
|
-
display: grid;
|
|
114
|
-
gap: var(--a-size);
|
|
115
|
-
min-width: 200px;
|
|
116
|
-
|
|
117
|
-
>header {}
|
|
118
|
-
|
|
119
|
-
>nav {
|
|
120
|
-
display: grid;
|
|
121
|
-
|
|
122
|
-
>a {
|
|
123
|
-
width: fit-content;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
36
|
a-law {
|
|
129
37
|
font-family: monospace;
|
|
130
38
|
|
|
131
39
|
display: grid;
|
|
132
|
-
gap: var(--a-
|
|
40
|
+
gap: var(--a-baseSize);
|
|
133
41
|
}
|
|
134
42
|
|
|
135
43
|
|
package/sass/_AngelsTheme.scss
CHANGED
|
@@ -2,39 +2,38 @@
|
|
|
2
2
|
* Angels' CMF Theme Custom Variables
|
|
3
3
|
*
|
|
4
4
|
* @version 2025-05-18
|
|
5
|
-
* * --a-header1-size based on Angels_ThemeVariables.$
|
|
6
|
-
* * --a-header2-size based on Angels_ThemeVariables.$
|
|
7
|
-
* * --a-header3-size based on Angels_ThemeVariables.$
|
|
8
|
-
* * --a-header4-size based on Angels_ThemeVariables.$
|
|
9
|
-
* * --a-header5-size based on Angels_ThemeVariables.$
|
|
10
|
-
* * --a-header6-size based on Angels_ThemeVariables.$
|
|
5
|
+
* * --a-header1-size based on Angels_ThemeVariables.$aFontSize
|
|
6
|
+
* * --a-header2-size based on Angels_ThemeVariables.$aFontSize
|
|
7
|
+
* * --a-header3-size based on Angels_ThemeVariables.$aFontSize
|
|
8
|
+
* * --a-header4-size based on Angels_ThemeVariables.$aFontSize
|
|
9
|
+
* * --a-header5-size based on Angels_ThemeVariables.$aFontSize
|
|
10
|
+
* * --a-header6-size based on Angels_ThemeVariables.$aFontSize
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
@use "AngelsVariables";
|
|
14
14
|
|
|
15
15
|
:root {
|
|
16
16
|
// 1/2em = 8px;
|
|
17
|
-
--a-
|
|
17
|
+
--a-halfSize: 8px;
|
|
18
18
|
// 1em = 16px;
|
|
19
|
-
--a-
|
|
19
|
+
--a-baseSize: 16px;
|
|
20
20
|
// 2em = 32px;
|
|
21
|
-
--a-
|
|
21
|
+
--a-doubleSize: 32px;
|
|
22
22
|
// 4em = 64px;
|
|
23
|
-
--a-
|
|
23
|
+
--a-4xSize: 64px;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
:root {
|
|
27
|
-
/* --a-
|
|
28
|
-
--a-
|
|
29
|
-
--a-
|
|
30
|
-
--a-
|
|
31
|
-
--a-
|
|
32
|
-
--a-line-height: 24px;
|
|
27
|
+
/* --a-borderRadius: 4px = 1em/4 = 16px/4 */
|
|
28
|
+
--a-borderRadius: 4px;
|
|
29
|
+
--a-fontFamily: Verdana, Arial, Helvetica, sans-serif;
|
|
30
|
+
--a-fontSize: 16px;
|
|
31
|
+
--a-lineHeight: 24px;
|
|
33
32
|
--a-note-color: palevioletred;
|
|
34
|
-
--a-
|
|
33
|
+
--a-textColor: #4B2E2E;
|
|
35
34
|
}
|
|
36
35
|
|
|
37
36
|
:root {
|
|
38
|
-
--a-
|
|
39
|
-
--a-
|
|
37
|
+
--a-focusBoxShadow: 0 0 10px #551c74;
|
|
38
|
+
--a-focusOutlineColor: #8f54b0;
|
|
40
39
|
}
|
|
@@ -6,22 +6,24 @@
|
|
|
6
6
|
* Colour variables
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
$
|
|
10
|
-
$
|
|
11
|
-
$
|
|
9
|
+
$aMainBackgroundColor: #FFF4E6;
|
|
10
|
+
$aSecondBackgroundColor: #ffe9cd;
|
|
11
|
+
$aSecondColor: #02172c;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Font variables
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
$
|
|
17
|
+
$aFontSize: 16px;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Grid variables.
|
|
21
21
|
*/
|
|
22
22
|
$a-mobile-min-width: 300px;
|
|
23
|
-
$a-mobile-max-width: 413.98px;
|
|
24
|
-
$a-
|
|
23
|
+
// $a-mobile-max-width: 413.98px;
|
|
24
|
+
$a-mobile-max-width: 533.98px;
|
|
25
|
+
// $a-tablet-min-width: 414px;
|
|
26
|
+
$a-tablet-min-width: 540px;
|
|
25
27
|
$a-tablet-max-width: 767.98px;
|
|
26
28
|
$a-laptop-min-width: 768px;
|
|
27
29
|
$a-laptop-max-width: 1023.98px;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--a-block-borderRadius: var(--a-
|
|
2
|
+
--a-block-borderRadius: var(--a-halfSize);
|
|
3
|
+
--a-block-borderRadius: var(--a-halfSize);
|
|
3
4
|
--a-block-borderColor: lavender;
|
|
4
5
|
--a-block-borderWidth: 1px;
|
|
5
6
|
--a-block-backgroundColor: transparent;
|
|
@@ -17,14 +18,14 @@ a-block {
|
|
|
17
18
|
:root {
|
|
18
19
|
--a-block-header-textColor: indigo;
|
|
19
20
|
--a-block-header-backgroundColor: lavender;
|
|
20
|
-
--a-block-header-padding: var(--a-
|
|
21
|
+
--a-block-header-padding: var(--a-halfSize) var(--a-doubleSize);
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
a-block-header {
|
|
24
25
|
color: var(--a-block-header-textColor);
|
|
25
26
|
background-color: var(--a-block-header-backgroundColor);
|
|
26
27
|
border-radius: var(--a-block-borderRadius) var(--a-block-borderRadius) 0 0;
|
|
27
|
-
display:
|
|
28
|
+
display: grid;
|
|
28
29
|
padding: var(--a-block-header-padding);
|
|
29
30
|
|
|
30
31
|
&:empty {
|
|
@@ -33,8 +34,8 @@ a-block-header {
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
:root {
|
|
36
|
-
--a-block-body-gap: var(--a-
|
|
37
|
-
--a-block-body-padding: var(--a-
|
|
37
|
+
--a-block-body-gap: var(--a-doubleSize);
|
|
38
|
+
--a-block-body-padding: var(--a-doubleSize);
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
a-block-body {
|
|
@@ -46,7 +47,7 @@ a-block-body {
|
|
|
46
47
|
:root {
|
|
47
48
|
--a-block-footer-textColor: indigo;
|
|
48
49
|
--a-block-footer-backgroundColor: lavender;
|
|
49
|
-
--a-block-footer-padding: var(--a-
|
|
50
|
+
--a-block-footer-padding: var(--a-halfSize) var(--a-doubleSize);
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
a-block-footer {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@use "../AngelsVariables";
|
|
2
|
+
|
|
3
|
+
a-infra {
|
|
4
|
+
color: steelblue;
|
|
5
|
+
display: flex;
|
|
6
|
+
gap: var(--a-doubleSize);
|
|
7
|
+
flex-wrap: wrap;
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
|
|
11
|
+
@media (max-width: AngelsVariables.$a-mobile-max-width) {
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
a-infral {
|
|
17
|
+
display: grid;
|
|
18
|
+
gap: var(--a-baseSize);
|
|
19
|
+
min-width: 200px;
|
|
20
|
+
flex: 1;
|
|
21
|
+
|
|
22
|
+
@media (max-width: AngelsVariables.$a-mobile-max-width) {
|
|
23
|
+
min-width: 100%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
>header {
|
|
27
|
+
font-weight: bold;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
>nav {
|
|
31
|
+
display: grid;
|
|
32
|
+
|
|
33
|
+
>a {
|
|
34
|
+
width: fit-content;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
address {
|
|
39
|
+
font-style: normal;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
@use "../AngelsVariables";
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--a-page-backgroundColor: var(--a-backgorundColor);
|
|
5
|
+
--a-page-gap: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
a-page {
|
|
9
|
+
background-color: var(--a-page-backgroundColor);
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: var(--a-page-gap);
|
|
13
|
+
min-height: 100vh;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:root {
|
|
17
|
+
--a-page-header-backgroundColor: #{AngelsVariables.$aSecondBackgroundColor};
|
|
18
|
+
--a-page-header-textColor: #{AngelsVariables.$aSecondColor};
|
|
19
|
+
--a-page-header-padding: 1em;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
a-page-header {
|
|
23
|
+
background-color: var(--a-page-header-backgroundColor);
|
|
24
|
+
color: var(--a-page-header-textColor);
|
|
25
|
+
display: flex;
|
|
26
|
+
padding: var(--a-page-header-padding);
|
|
27
|
+
|
|
28
|
+
&:empty {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:root {
|
|
34
|
+
--a-page-body-gap: var(--a-4xSize);
|
|
35
|
+
--a-page-body-padding: var(--a-4xSize) var(--a-baseSize);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
a-page-body {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
flex-grow: 1;
|
|
42
|
+
gap: var(--a-page-body-gap);
|
|
43
|
+
padding: var(--a-page-body-padding);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:root {
|
|
47
|
+
--a-page-footer-backgroundColor: #{AngelsVariables.$aSecondBackgroundColor};
|
|
48
|
+
--a-page-footer-padding: var(--a-baseSize);
|
|
49
|
+
--a-page-footer-gap: var(--a-baseSize);
|
|
50
|
+
--a-page-footer-textColor: #{AngelsVariables.$aSecondColor};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
a-page-footer {
|
|
54
|
+
background-color: var(--a-page-footer-backgroundColor);
|
|
55
|
+
color: var(--a-page-footer-textColor);
|
|
56
|
+
display: grid;
|
|
57
|
+
font-family: monospace;
|
|
58
|
+
gap: var(--a-page-footer-gap);
|
|
59
|
+
padding: var(--a-page-footer-padding);
|
|
60
|
+
|
|
61
|
+
&:empty {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
}
|