Skip to content

Commit ca31777

Browse files
committed
Merge branch 'main' of https://github.com/processing/p5.js-website into exampleFixes
2 parents 9279c3f + 6a0ae31 commit ca31777

Some content is hidden

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

56 files changed

+58043
-2706
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## How To Contribute
66

7-
Known bugs and intended new features are tracked using [GitHub issues](https://github.com/processing/p5.js-website/issues). If you'd like to start working on an existing issue, comment on the issue that you plan to work on it so other contributors know it's being handled and can offer help. Once you have completed your work on this issue, [submit a pull request (PR)](https://github.com/processing/p5.js/blob/main/contributor_docs/preparing_a_pull_request.md) against the p5.js main branch. In the description field of the PR, include "resolves #XXXX" tagging the issue you are fixing. If the PR addresses the issue but doesn't completely resolve it (ie the issue should remain open after your PR is merged), write "addresses #XXXX".
7+
Known bugs and intended new features are tracked using [GitHub issues](https://github.com/processing/p5.js-website/issues). If you'd like to start working on an existing issue, comment on the issue that you plan to work on it so other contributors know it's being handled and can offer help. Once you have completed your work on this issue, [submit a pull request (PR)](https://github.com/processing/p5.js/blob/main/contributor_docs/contributor_guidelines.md#pull-requests) against the p5.js main branch. In the description field of the PR, include "resolves #XXXX" tagging the issue you are fixing. If the PR addresses the issue but doesn't completely resolve it (ie the issue should remain open after your PR is merged), write "addresses #XXXX".
88

99
If you discover a bug or have an idea for a new feature you'd like to add, begin by submitting an issue. Please do not simply submit a pull request containing the fix or new feature without making an issue first, we will probably not be able to accept it. Once you have gotten some feedback on the issue and a go ahead to address it, you can follow the process above to add the fix or feature.
1010

i18n-tracking.yml

Lines changed: 3318 additions & 1605 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 29 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@
8282
"lodash": "^4.17.21",
8383
"mkdirp": "^0.5.5",
8484
"moment": "^2.29.4",
85-
"ms": "^0.7.3",
85+
"ms": "^2.0.0",
8686
"prettier": "^1.19.1",
87-
"qs": "^6.10.1",
87+
"qs": "^6.10.3",
8888
"send": "^0.16.2",
8989
"serve-index": "^1.9.1",
90-
"simple-git": "^3.5.0",
90+
"simple-git": "^3.16.0",
9191
"time-grunt": "^1.4.0",
9292
"uglify-js": "^2.8.29",
9393
"yaml": "^1.10.2"

src/assets/css/main.css

Lines changed: 146 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,6 +1416,7 @@ h2.featuring {
14161416
}
14171417

14181418
#teach-page .heading {
1419+
width: 100%;
14191420
font: 400 1.4rem "Montserrat", sans-serif;
14201421
color: black;
14211422
line-height: 1.2em;
@@ -1427,6 +1428,84 @@ h2.featuring {
14271428
margin-top: 3em;
14281429
}
14291430

1431+
/*workshop contents*/
1432+
1433+
#teach-page section.workshopS{
1434+
overflow: auto;
1435+
}
1436+
1437+
#teach-page .workshop-content{
1438+
padding: 0.6em;
1439+
}
1440+
1441+
#teach-page ul.workshops{
1442+
padding-top: .4em;
1443+
width: 41%;
1444+
float: left;
1445+
}
1446+
1447+
#teach-page .btn{
1448+
margin-bottom: 0.8em;
1449+
padding-bottom: .4em;
1450+
1451+
font: 400 0.9rem "Times", sans-serif;
1452+
line-height: 1.2em;
1453+
1454+
border-bottom: 0.1em dashed #ffe8e8;
1455+
}
1456+
1457+
#teach-page li.workshop .active,li.workshop p:hover{
1458+
margin-bottom: 0.8em;
1459+
padding-bottom: .4em;
1460+
1461+
font: 400 0.9rem "Times", sans-serif;
1462+
line-height: 1.2em;
1463+
color: #ed225d;
1464+
1465+
border-bottom: 0.1em dashed #ffe8e8;
1466+
}
1467+
1468+
/*workshop banners*/
1469+
1470+
#teach-page .upcoming-banners{
1471+
width: 59%;
1472+
float: right;
1473+
padding-top: 0.8em;
1474+
padding-left: 1em;
1475+
border: none;
1476+
1477+
}
1478+
1479+
#teach-page .banner2, .banner3, .time2, .time3{
1480+
display: none;
1481+
}
1482+
1483+
#teach-page .banner1:hover, .banner2:hover, .banner3:hover{
1484+
border: none;
1485+
}
1486+
1487+
#teach-page .banner-img{
1488+
float: left;
1489+
box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.1);
1490+
border-radius: 5px;
1491+
border: none;
1492+
}
1493+
1494+
#teach-page .banner-img:hover{
1495+
box-shadow: 0px 0px 5px 2px #e088a1;
1496+
border-radius: 5px;
1497+
border: none;
1498+
}
1499+
1500+
#teach-page .upcoming-time p{
1501+
float: right;
1502+
margin-bottom: 0.8em;
1503+
padding-bottom: .4em;
1504+
1505+
font: 400 0.8rem "Times", sans-serif;
1506+
line-height: 0.01em;
1507+
}
1508+
14301509
/*search-filter label*/
14311510

14321511
#teach-page .search-filter {
@@ -1815,9 +1894,9 @@ h2.featuring {
18151894
}
18161895

18171896
#teach-page .case-list {
1818-
18191897
margin-bottom: 0.8em;
18201898
padding-bottom: .4em;
1899+
display:flex;
18211900

18221901
font: 400 1.0rem "Times", sans-serif;
18231902
line-height: 1.2em;
@@ -1826,6 +1905,44 @@ h2.featuring {
18261905

18271906
}
18281907

1908+
#teach-page .labels {
1909+
width: 40%;
1910+
}
1911+
1912+
#teach-page .tags.selected{
1913+
display: inline-block;
1914+
margin-left: 2em;
1915+
margin-right: 2em;
1916+
margin: 2px 2px;
1917+
padding: 5px 8px;
1918+
border-radius: 25px;
1919+
font: 200 0.7rem "Montserrat", sans-serif;
1920+
color: white;
1921+
white-space: nowrap;
1922+
background: #ed225d;
1923+
}
1924+
1925+
#teach-page .caseBtn {
1926+
padding-top: 0.2em;
1927+
padding-bottom:0.2em;
1928+
width: 60%;
1929+
height:max-content;
1930+
float: left;
1931+
}
1932+
1933+
#teach-page .case-list label {
1934+
display: inline-block;
1935+
margin-left: 2em;
1936+
margin-right: 2em;
1937+
margin: 2px 2px;
1938+
padding: 5px 8px;
1939+
border-radius: 25px;
1940+
font: 200 0.7rem "Montserrat", sans-serif;
1941+
color: black;
1942+
white-space: nowrap;
1943+
background: #fafafa;
1944+
}
1945+
18291946
/* ==========================================================================
18301947
Author's custom styles
18311948
========================================================================== */
@@ -2706,6 +2823,34 @@ iframe {
27062823
width: 100px;
27072824
height: auto;
27082825
}
2826+
/* teach page */
2827+
2828+
@media (max-width: 780px) {
2829+
2830+
#teach-page ul.workshops{
2831+
width: 100%;
2832+
}
2833+
2834+
#teach-page .upcoming-banners{
2835+
width: 100%;
2836+
float: left;
2837+
padding-top: 0em;
2838+
padding-left: 0em;
2839+
border: none;
2840+
}
2841+
2842+
#teach-page .case-list {
2843+
display:block;
2844+
}
2845+
2846+
#teach-page .labels {
2847+
min-width: 100%;
2848+
}
2849+
2850+
#teach-page .caseBtn {
2851+
min-width: 100%;
2852+
}
2853+
}
27092854

27102855
/*
27112856
//////////////////////////////////////////////////

0 commit comments

Comments
 (0)