Skip to content

Commit 5c5cbfe

Browse files
committed
upcomingWorshops
1 parent 931f611 commit 5c5cbfe

File tree

10 files changed

+29328
-1448
lines changed

10 files changed

+29328
-1448
lines changed

i18n-tracking.yml

Lines changed: 1044 additions & 405 deletions
Large diffs are not rendered by default.

package-lock.json

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

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
//////////////////////////////////////////////////

src/assets/js/reference.js

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

0 commit comments

Comments
 (0)