Skip to content

Commit

Permalink
Merge pull request #66 from Gitstar-OC/math-algebra
Browse files Browse the repository at this point in the history
Updated styling and removed some useless css code, added description …
  • Loading branch information
Gitstar-OC authored Oct 11, 2024
2 parents 359c708 + 4b45c6c commit ec992e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 78 deletions.
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

0 comments on commit ec992e6

Please sign in to comment.