@@ -119,10 +119,6 @@ slides {
119
119
height : 56.25vw ;
120
120
max-height : 100vh ;
121
121
max-width : 177.78vh ;
122
- /*width: 1200px;
123
- height: 675px;
124
- left: 50%;
125
- top: 50%;*/
126
122
bottom : auto;
127
123
right : auto;
128
124
transform : translate (-50% , -50% );
@@ -543,7 +539,9 @@ pre {
543
539
-webkit-box-sizing : border-box;
544
540
box-sizing : border-box;
545
541
overflow : auto;
542
+ white-space : pre-wrap;
546
543
}
544
+
547
545
/* line 351, ../scss/default.scss */
548
546
pre [data-lang ]: after {
549
547
content : attr (data-lang);
@@ -1394,7 +1392,9 @@ aside.gdbar img {
1394
1392
display : none;
1395
1393
}
1396
1394
1397
- /* James rst markup */
1395
+ /****** Semmle-specific styles *********/
1396
+
1397
+ /* rst markup */
1398
1398
strong {
1399
1399
font-weight : bold;
1400
1400
}
@@ -1408,73 +1408,43 @@ sup {
1408
1408
font-size : 0.5em ;
1409
1409
}
1410
1410
1411
-
1412
- /* James slide backgrounds */
1413
-
1414
- .title-slide {
1415
- background-image : url ("../../title-slide.svg" );
1416
- background-size : cover;
1417
- }
1418
-
1411
+ /*custom slide styles */
1412
+ /* general */
1419
1413
slide {
1420
1414
background-image : url ("../../normal-slide.svg" );
1421
1415
background-size : cover;
1422
1416
width : 100% ;
1423
1417
height : 100% ;
1424
1418
overflow : auto;
1425
1419
transform : scale (1 );
1426
- }
1427
-
1428
- .end-slide {
1429
- background-image : url ("../../end-slide.svg" );
1430
- background-size : 100% 100% ;
1431
- background-color : # 5c31ff ;
1432
- }
1420
+ }
1433
1421
1434
- .background2 {
1435
- background-image : url ("../../alternative-slide.svg" );
1436
- background-size : cover;
1422
+ .highlight {
1423
+ width : auto;
1424
+ background : transparent !important ;
1425
+ margin-bottom : 2% ;
1437
1426
}
1438
1427
1439
- . setup , . agenda {
1440
- background-image : url ( "../../setup-slide.svg" ) ;
1441
- background -size: cover ;
1428
+ p {
1429
+ color : black ;
1430
+ font -size: 1 em ;
1442
1431
}
1443
1432
1444
- . setup article , . agenda article {
1433
+ article {
1445
1434
margin-top : 3% ;
1446
- border-left : 1px solid # 5c31ff ;
1447
- position : absolute;
1448
- top : 0 ;
1449
- bottom : 0 ;
1450
- right : 0 ;
1451
- left : 0 ;
1452
- margin : auto;
1453
- width : 50% ;
1454
- height : fit-content;
1455
- padding : 2% ;
1456
1435
}
1457
1436
1458
- .setup li {
1459
- line-height : 1.5em ;
1460
- margin-top : 1.5em ;
1461
- }
1462
-
1463
- .agenda li {
1464
- margin : 0 ;
1437
+ hgroup .pre {
1438
+ color : # 5c31ff ;
1465
1439
}
1466
1440
1467
- .setup ul , .agenda ul {
1468
- padding : 0 ;
1469
- }
1441
+ /* title slide (deck title, subtitle, semmle logo)*/
1470
1442
1471
- .setup hgroup , . agenda hgroup {
1472
- position : relative ;
1473
- margin : 7 % 0 0 17 % ;
1443
+ .title-slide {
1444
+ background-image : url ( "../../title-slide.svg" ) ;
1445
+ background-size : cover ;
1474
1446
}
1475
1447
1476
- /*custom slide styles */
1477
-
1478
1448
.semmle-logo sup {
1479
1449
vertical-align : super;
1480
1450
font-size : 0.3em ;
@@ -1495,6 +1465,17 @@ slide {
1495
1465
bottom : 30% ;
1496
1466
}
1497
1467
1468
+ .title-slide hgroup .pre {
1469
+ color : white;
1470
+ }
1471
+
1472
+ /* purple background slides (new section)*/
1473
+
1474
+ .background2 {
1475
+ background-image : url ("../../alternative-slide.svg" );
1476
+ background-size : cover;
1477
+ }
1478
+
1498
1479
.background2 h2 {
1499
1480
color : white;
1500
1481
}
@@ -1504,15 +1485,54 @@ slide {
1504
1485
font-size : 1.5em ;
1505
1486
}
1506
1487
1507
- hgroup .pre {
1508
- color : # 5c31ff ;
1488
+ /* setup and agenda slides */
1489
+
1490
+ .setup , .agenda {
1491
+ background-image : url ("../../setup-slide.svg" );
1492
+ background-size : cover;
1509
1493
}
1510
1494
1511
- .title-slide hgroup .pre {
1512
- color : white;
1495
+ .setup article , .agenda article {
1496
+ margin-top : 3% ;
1497
+ border-left : 1px solid # 5c31ff ;
1498
+ position : absolute;
1499
+ top : 0 ;
1500
+ bottom : 0 ;
1501
+ right : 0 ;
1502
+ left : 0 ;
1503
+ margin : auto;
1504
+ width : 50% ;
1505
+ height : fit-content;
1506
+ padding : 2% ;
1513
1507
}
1514
1508
1515
- /* James column experiments */
1509
+ .setup li {
1510
+ line-height : 1.5em ;
1511
+ margin-top : 1.5em ;
1512
+ }
1513
+
1514
+ .agenda li {
1515
+ margin : 0 ;
1516
+ }
1517
+
1518
+ .setup ul , .agenda ul {
1519
+ padding : 0 ;
1520
+ }
1521
+
1522
+ .setup hgroup , .agenda hgroup {
1523
+ position : relative;
1524
+ margin : 7% 0 0 17% ;
1525
+ }
1526
+
1527
+ /* end slide */
1528
+
1529
+ .end-slide {
1530
+ background-image : url ("../../end-slide.svg" );
1531
+ background-size : 100% 100% ;
1532
+ background-color : # 5c31ff ;
1533
+ }
1534
+
1535
+ /* styles for side by side columns */
1516
1536
1517
1537
.column-left {
1518
1538
float : left;
@@ -1539,18 +1559,7 @@ hgroup .pre {
1539
1559
max-width : 100% ;
1540
1560
}
1541
1561
1542
- .highlight {
1543
- width : auto;
1544
- background : transparent !important ;
1545
- margin-bottom : 2% ;
1546
- }
1547
-
1548
- p {
1549
- color : black;
1550
- font-size : 1em ;
1551
- }
1552
-
1553
- /* James admonition changes */
1562
+ /* admonition (speaker notes) styles */
1554
1563
1555
1564
p .first .admonition-title {
1556
1565
display : none;
@@ -1584,12 +1593,34 @@ p.first.admonition-title {
1584
1593
width : inherit;
1585
1594
}
1586
1595
1587
- /* more custom styles */
1596
+ /* images */
1597
+ /* general styles to scale and centre images*/
1598
+
1599
+ .image-box {
1600
+ display : grid;
1601
+ height : 100% ;
1602
+ }
1603
+
1604
+ img {
1605
+ width : 50% ;
1606
+ margin : auto;
1607
+ }
1608
+
1609
+ /* deck-specific styles for individual images*/
1610
+ /* intro to ql */
1611
+ img .analysis {
1612
+ width : 90% ;
1613
+ }
1588
1614
1589
- span .n , span .p {
1590
- color : grey;
1615
+ /* program representation*/
1616
+ .ast-graph {
1617
+ width : 66% ;
1618
+ position : absolute;
1619
+ right : -10% ;
1591
1620
}
1592
1621
1622
+ /* custom styles for lists*/
1623
+
1593
1624
ol {
1594
1625
color : black;
1595
1626
}
@@ -1598,21 +1629,25 @@ li > ul > li {
1598
1629
margin-bottom : 0 ;
1599
1630
}
1600
1631
1601
- /* scale and centre images*/
1632
+ /*
1633
+ * extra styles for more appropriate for syntax highlighting
1634
+ *
1635
+ */
1602
1636
1603
- .image-box {
1604
- display : grid;
1605
- height : 100% ;
1606
- }
1637
+ span .n , span .p , span .o {
1638
+ color : black !important ;
1639
+ }
1607
1640
1608
- img {
1609
- max-width : 50% ;
1610
- margin : auto;
1611
- }
1641
+ .highlight { color : # 333 !important } /* default */
1642
+ .highlight .s { color : # 06994a !important } /* strings */
1643
+ .highlight .m { color : # 333 } /* numbers (no special highlighting) */
1644
+ .highlight .c1 { color : # 007020 !important ; font-style : italic !important } /* one-line comments */
1645
+ .highlight .cm { color : # 007020 !important ; font-style : italic !important } /* multiline comments */
1646
+ .highlight .cp { color : # 2F1695 !important ; font-style : italic !important } /* QLDoc comments */
1647
+ .highlight .k { color : # 7a65cd !important ; font-weight : bold !important } /* keywords */
1648
+ .highlight .kt { color : # 7a65cd !important ; font-weight : bold !important } /* built-in type keywords */
1649
+ .highlight .kr { color : # 333 !important ; font-style : italic !important } /* annotations */
1612
1650
1613
- article {
1614
- margin-top : 3% ;
1615
- }
1616
1651
1617
1652
@media print {
1618
1653
/* line 978, ../scss/default.scss */
@@ -1716,59 +1751,4 @@ article {
1716
1751
slides {
1717
1752
bottom : unset;
1718
1753
}
1719
-
1720
- }
1721
- /*
1722
- @media screen and (max-width: 450px) {
1723
- slides {
1724
- font-size: 1.2vmin;
1725
- }
1726
- }
1727
-
1728
- @media screen and (min-width: 451px) and (max-width: 767px) {
1729
- slides {
1730
- font-size: 2.5vmin;
1731
- }
1732
- }
1733
-
1734
- @media screen and (min-width: 451px) and (orientation : portrait) {
1735
- slides {
1736
- font-size: 1.2vmin;
1737
- }
1738
- }
1739
-
1740
- @media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
1741
- slides {
1742
- font-size: 1.2vmin;
1743
- }
1744
- }
1745
-
1746
- @media screen and (min-width: 768px) and (max-width: 812px) and (orientation: landscape) {
1747
- slides {
1748
- font-size: 2.2vmin;
1749
- }
1750
- }
1751
-
1752
-
1753
- @media screen and (min-width: 813px) and (max-width: 1024px) and (orientation: landscape) {
1754
- slides {
1755
- font-size: 1.8vmin;
1756
- }
1757
- }
1758
-
1759
- @media screen and (min-width: 1025px) and (orientation: landscape){
1760
- slides {
1761
- font-size: 2vmin;
1762
- }
1763
- }
1764
-
1765
- @media screen and (min-width: 1025px) and (orientation: portrait){
1766
- slides {
1767
- font-size: 1.2vmin;
1768
- }
1769
- }
1770
- */
1771
- .wrapper {
1772
- height : 675px ;
1773
- resize : both;
1774
1754
}
0 commit comments