Skip to content

Commit a5e8b3b

Browse files
committed
[RZB-2500047]: added contact page; fix global css
1 parent d86eaeb commit a5e8b3b

File tree

14 files changed

+165
-83
lines changed

14 files changed

+165
-83
lines changed

src/assets/styles/about.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
.container__about {
2-
display: block;
2+
display: grid;
3+
justify-content: center;
4+
height: 90vh;
35
padding: 1rem;
46

57
& .moto {
68
color: #3a8657;
79
font-size: 2rem;
810
}
9-
}
11+
}

src/assets/styles/contact.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
.contact__info {
2+
margin-inline-start: 1rem;
3+
}
4+
5+
.container__contact {
6+
box-sizing: border-box;
7+
}
8+
9+
.contact__message {
10+
@apply text-sm md:p-[1rem];
11+
margin-top: 4px;
12+
}
13+
14+
.custom__input {
15+
@apply md:tracking-widest;
16+
}
17+
18+
.container__form {
19+
@apply flex flex-grow items-center justify-start max-sm:justify-center md:mr-36;
20+
}
21+
22+
.contact__form {
23+
@apply w-full p-4;
24+
}
25+
26+
.section__grid {
27+
@apply grid items-center gap-1;
28+
}
29+
30+
.center__text {
31+
@apply top-[1rem] mt-5 text-center;
32+
}
33+
34+
.contact__button--group {
35+
@apply mt-8 flex justify-end;
36+
}
37+
38+
.contact__button {
39+
@apply w-36 max-sm:w-full;
40+
}

src/assets/styles/globals.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
font-family: "Roboto", "SF Pro Text", "SF Pro Icons", "AOS Icons", "Helvetica Neue", Helvetica, Arial, sans-serif,
6464
system-ui;
6565
font-size: 16px;
66+
margin: 0;
6667
background-color: var(--background);
6768
color: var(--text);
6869
}
@@ -108,8 +109,8 @@
108109

109110
main {
110111
display: grid;
111-
gap: 4px;
112-
grid-template-columns: 20rem 1fr;
112+
gap: 0.30rem;
113+
grid-template-columns: minmax(0, auto) 1fr;
113114
grid-auto-flow: column;
114115
grid-template-areas: "sidebar content";
115116
padding: 2rem;
@@ -160,12 +161,13 @@
160161
border-width: 0;
161162
}
162163

163-
.layout {
164-
border-right: 3px solid darkslategray;
165-
}
166164

167165
.link__active,
168166
.text__active {
169167
@apply text-customLight-active dark:text-customDark-active;
170168
}
169+
170+
.content {
171+
min-height: 100vh;
172+
}
171173
}

src/assets/styles/header.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import url(./globals.css);
2-
31
.header {
42
position: fixed;
53
top: 0;
@@ -73,4 +71,4 @@
7371
width: 2rem;
7472
border-radius: 50%;
7573
cursor: pointer;
76-
}
74+
}

src/assets/styles/sample.css

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
.container__sample {
2+
box-sizing: border-box;
3+
padding: 1rem;
4+
margin: auto;
5+
font-size: 1.35rem;
6+
line-height: 1.5;
7+
8+
& :where(h2, h3) {
9+
padding-block: 1rem;
10+
}
11+
12+
>p {
13+
margin-block: 1.5rem;
14+
}
15+
16+
h2 {
17+
font-size: 2rem;
18+
}
19+
20+
h3 {
21+
font-size: 1.75rem;
22+
}
23+
24+
ul {
25+
list-style: auto;
26+
padding: 1rem;
27+
28+
li>p {
29+
margin: 0.25rem;
30+
}
31+
}
32+
33+
a {
34+
color: rgb(103, 103, 201);
35+
}
36+
37+
section {
38+
ul {
39+
list-style-type: none;
40+
41+
& li {
42+
margin-inline: 1rem;
43+
44+
&:nth-child(2) {
45+
&::before {
46+
content: "\272D";
47+
}
48+
}
49+
50+
&::before {
51+
content: "\26BE";
52+
/* baseball U+26BE */
53+
}
54+
55+
&:nth-child(3)::before {
56+
content: "\27F0";
57+
/* Second item: Star */
58+
font-size: large;
59+
color: rgb(149, 124, 33);
60+
}
61+
}
62+
}
63+
}
64+
}

src/assets/styles/setting.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
outline: 1px solid slateblue;
2828
}
2929

30-
&:hover {
30+
/*&:hover {
3131
transform: scale(1.05) rotate(45deg);
32-
}
32+
}*/
3333
}
3434

3535
.setting__panel {
@@ -41,7 +41,6 @@
4141
width: 20rem;
4242
height: 20rem;
4343
background-color: hwb(20 68% 16%);
44-
border: 1px solid red;
4544
border-radius: 4px;
4645
padding: 0.74rem;
4746
transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
@@ -73,13 +72,13 @@
7372
justify-content: center;
7473
gap: 10px;
7574
font-weight: 600;
76-
font-size: 1rem;
75+
font-size: 1.5rem;
7776
letter-spacing: 0.01em;
7877
touch-action: pinch-zoom;
7978

8079
&:hover:not(.close) {
8180
background-color: color(xyz 0.02 0.01 0.02);
82-
/*transform: translateY(-3px);*/
81+
transform: translateY(-3px);
8382
}
8483

8584
&.close {
@@ -140,7 +139,7 @@
140139
}
141140
}
142141

143-
&:has([popover]:popover-open) {
142+
&:has(:popover-open) {
144143
.setting__trigger {
145144
background-color: rgb(106, 202, 119);
146145
transform: scale(1.05) rotate(45deg);

src/components/DrawKeyboard.astro

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ import { IMAGE_DIR, colorBox, fontBox, numberBox } from "@/utils/draw";
113113
});
114114

115115
document.addEventListener("keydown", handleKeyPress);
116-
117-
console.log("Welcome to abcdkbd.com - Enhanced Interactive Learning");
118116
</script>
119117

120118
<style>

src/components/Puzzle.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ import Settings from "@/components/Settings.astro";
434434
// Add event listener for the Confirm Selection button
435435
//document.getElementById("confirmSelectionBtn").addEventListener("click", handleConfirmSelection);
436436

437-
// Mouse events for drag selection
437+
// Mouse events for drag selectionPsetting
438438
gridElement.addEventListener("mousedown", handleDragStart);
439439
gridElement.addEventListener("mousemove", handleDragMove);
440440
document.addEventListener("mouseup", handleDragEnd);

src/content/article/terms.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Terms & Conditions"
33
author: "Admin"
44
---
55

6-
Welcome to COMPANY-NAME! These terms and conditions outline the rules and regulations for the use of COMPANY-NAME's Website, located at [COMPANY-NAME.com](https://www.COMPANY-NAME.com).
6+
Welcome to RecursiveZero! These terms and conditions outline the rules and regulations for the use of RecursiveZero's Website, located at [RecursiveZero.com](https://www.recursivezero.com).
77

88
By accessing this website, we assume you accept these terms and conditions. Do not continue to use [Your Company
99
Name] if you do not agree to take all of the terms and conditions stated on this page.
@@ -16,22 +16,22 @@ interchangeable and therefore as referring to same.
1616

1717
## Cookies
1818

19-
We employ the use of cookies. By accessing COMPANY-NAME, you agreed to use cookies in agreement with the COMPANY-NAME's Privacy Policy.
19+
We employ the use of cookies. By accessing RecursiveZero, you agreed to use cookies in agreement with the RecursiveZero's Privacy Policy.
2020

2121
Most interactive websites use cookies to let us retrieve the user's details for each visit. Cookies are used by
2222
our website to enable the functionality of certain areas to make it easier for people visiting our website. Some
2323
of our affiliate/advertising partners may also use cookies.
2424

2525
## License
2626

27-
Unless otherwise stated, COMPANY-NAME and/or its licensors own the intellectual property rights for all material on COMPANY-NAME. All intellectual property rights are reserved.
28-
You may access this from COMPANY-NAME for your own personal use subjected to restrictions set in these terms and conditions.
27+
Unless otherwise stated, RecursiveZero and/or its licensors own the intellectual property rights for all material on RecursiveZero. All intellectual property rights are reserved.
28+
You may access this from RecursiveZero for your own personal use subjected to restrictions set in these terms and conditions.
2929

3030
### You must not
3131

32-
- Republish material from COMPANY-NAME
33-
- Sell, rent, or sub-license material from COMPANY-NAME
34-
- Reproduce, duplicate or copy material from COMPANY-NAME
35-
- Redistribute content from COMPANY-NAME
32+
- Republish material from RecursiveZero
33+
- Sell, rent, or sub-license material from RecursiveZero
34+
- Reproduce, duplicate or copy material from RecursiveZero
35+
- Redistribute content from RecursiveZero
3636

3737
If you have any questions about our Terms and Conditions, please [contact us](/contact)

src/layouts/Base.astro

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import Header from "@/layouts/common/Header";
66
import Menu from "@/layouts/common/Menu";
77
import { siteConfig } from "@/site-config";
88
9+
//import "@/assets/styles/globals.css";
10+
911
const {
1012
meta: { title, description = siteConfig.description, ogImage, articleDate }
1113
} = Astro.props;
@@ -14,21 +16,6 @@ const {
1416
<html lang={siteConfig.lang}>
1517
<head>
1618
<BaseHead title={title} description={description} ogImage={ogImage} date={articleDate} />
17-
<style>
18-
body {
19-
min-height: 100vh;
20-
margin: 0;
21-
}
22-
.main {
23-
padding: 2rem;
24-
display: grid;
25-
grid-template-columns: auto 1fr;
26-
gap: 1rem;
27-
}
28-
.content {
29-
min-height: 100vh;
30-
}
31-
</style>
3219
</head>
3320
<body id="body" class="body__container">
3421
<ThemeProvider />

0 commit comments

Comments
 (0)