Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated styling and removed some useless css code, added description … #66

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions app/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
@tailwind components;
@tailwind utilities;



@layer components {
.underlineEffect {
@apply absolute left-0 bottom-[3px] h-[2px] w-full bg-gradient-to-r from-[#4C054C] to-[#25AFAA] scale-x-0 transform transition-transform duration-300 origin-left;
Expand Down Expand Up @@ -60,25 +58,6 @@ img, video {
border-radius: 10px;
}

/*************** Navbar ******************/

/* #nd-nav {
background-color: black;
background: black;
} */

/* nav {
background-color: black;
} */


/************ Highlighted text ***********/
/* .prose :where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
font-size: 16px;

} */


@layer base {
:root {
--radius: 0.5rem;
Expand Down
56 changes: 2 additions & 54 deletions components/ui/Appearance/style.css
Original file line number Diff line number Diff line change
@@ -1,55 +1,3 @@
/* .prose :is(p) {
font-size: var(--h1-size)
} */

/************ Changing Appearance **************/
/* .prose :is(p) {
font-size: 10px;
}

.prose :is(h1) {
font-size: var(--h1-size);
font-size: 80px;
}

.prose (p {
)font-size: var(--p-size);
}

.prose (h1) {
font-size: var(--h1-size);
}

.prose (h2) {
font-size: var(--h2-size);
}

.prose (h3) {
font-size: var(--h3-size);
}

.prose (h4) {
font-size: var(--h4-size);
}

.prose (h5) {
font-size: var(--h5-size);
}

.prose (h6) {
font-size: var(--h6-size);
}

.prose (p){
font-size: var(--p-size);
}

.prose (div) {
font-size: var(--size);
}

*/

.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)) {
font-size: var(--h2-size);
/* font-size: 50px */
Expand All @@ -59,11 +7,11 @@
}
.prose :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)),
.prose :where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)),
.prose :where(ul):not(:where([class~="not-prose"], [class~="not-prose"] *)),
.fd-codeblock code {
.prose :where(ul):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
font-size: var(--p-size);
}

.fd-codeblock code,
.not-prose{
font-size: var(--not-prose)
}
Expand Down
6 changes: 3 additions & 3 deletions content/learn/algebra/introduction-to-numpy-arrays.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Introduction to Python Matrices and NumPy
description: In this
description: In this section you can learn about Numpy, Numpy Arrays, Indexing and Slicing in Numpy, Stacking, Multidimensional Array and many more.
---

Welcome to your first notebook of this notes. As mentioned in the lecture videos, you will use Python for the labs and programming assignments in this specializiation. In this course, most of your work will be inside a library called NumPy. NumPy (Numerical Python) is an open-source package that is widely used in science and engineering. You can check out the official [NumPy documentaion here](https://numpy.org/doc/stable/index.html). In this notebook, you will use NumPy to create 2-D arrays and easily compute mathematical operations. Feel free to skip this notebook if you are already fluent with NumPy.
Expand Down Expand Up @@ -342,7 +342,7 @@ print(horz_stack)



```py
````python
# Split the horizontally stacked array into 2 separate arrays of equal size
horz_split_two = np.hsplit(horz_stack,2)
print(horz_split_two)
Expand All @@ -354,7 +354,7 @@ print(horz_split_four)
# Split the horizontally stacked array after the first column
horz_split_first = np.hsplit(horz_stack,[1])
print(horz_split_first)
```
````

```py
# Split the vertically stacked array into 2 separate arrays of equal size
Expand Down