Skip to content

Commit c5542be

Browse files
committed
More fixes
1 parent 1b5dd55 commit c5542be

File tree

3 files changed

+24
-45
lines changed

3 files changed

+24
-45
lines changed

assets/css/casestudies.css

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
padding: 30px;
33
}
44

5-
.casestudies a:hover {
6-
text-decoration: none;
7-
color:black
8-
}
9-
105
.casestudies-title {
116
display: flex;
127
justify-content: center;
@@ -28,10 +23,6 @@
2823
border-radius: 3px;
2924
}
3025

31-
.casestudies a {
32-
color: var(--colorPrimaryDark) !important;
33-
}
34-
3526
.casestudies-box-title {
3627
margin: 15px;
3728
font-size: 16px;
@@ -58,11 +49,10 @@
5849

5950
.casestudies-underline {
6051
display: inline-block;
61-
vertical-align: middle;
6252
-webkit-transform: perspective(1px) translateZ(0);
6353
transform: perspective(1px) translateZ(0);
64-
/* Black, with 10% opacity */
65-
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
54+
border: .02em solid var(--pst-color-border);
55+
box-shadow: 0 .2rem .5rem var(--pst-color-shadow),0 0 .0625rem var(--pst-color-shadow);
6656
position: relative;
6757
overflow: hidden;
6858
}
@@ -74,7 +64,6 @@
7464
left: 0;
7565
right: 100%;
7666
bottom: 0;
77-
background: var(--colorPrimaryDark);
7867
height: 4px;
7968
-webkit-transition-property: right;
8069
transition-property: right;

assets/css/shell.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
.hero-right {
22
display: flex;
33
flex-direction: column;
4-
/* Black, with 10% opacity */
5-
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
6-
background: rgb(238, 238, 238);
74
padding: 15px;
5+
background: var(--pst-color-surface);
86
}
97

108
.numpy-shell-canvas {
@@ -24,7 +22,7 @@
2422

2523
.numpy-shell {
2624
flex: 2;
27-
padding: 0 15px;
25+
border: 1px solid var(--pst-color-border);
2826
}
2927

3028
.shell-title-container {
@@ -48,9 +46,14 @@
4846
}
4947

5048
.shell-lesson .highlight pre {
49+
background-color: var(--pst-gray-800);
5150
height: 100%;
5251
}
5352

53+
.shell-lesson .highlight pre code{
54+
color: #f3c7ee;
55+
}
56+
5457
.shell-lesson > p {
5558
margin: 2px 0 2px 0;
5659
}

assets/css/tabs.css

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1-
.uikit-tab-wrapper-mobile {
2-
display: flex;
3-
flex-direction: row;
1+
[role="tablist"] {
2+
justify-content: center;
3+
}
4+
5+
blockquote footer::before {
6+
content: "— ";
7+
}
8+
9+
table td:not([align]), table th:not([align]) {
10+
text-align: inherit;
11+
}
12+
13+
table td, table th {
14+
vertical-align: top;
415
}
516

617
.tabs-section {
@@ -26,25 +37,6 @@
2637
margin: 15px auto;
2738
}
2839

29-
.uk-tab > li {
30-
padding: 0 10px;
31-
}
32-
33-
.uk-nav > li > a {
34-
height: 35px;
35-
font-size: 13px;
36-
text-transform: uppercase;
37-
letter-spacing: 1.5px;
38-
font-weight: 500;
39-
color: rgb(108, 122, 137);
40-
}
41-
42-
#tabs-content > li {
43-
width: 90vw;
44-
max-width: 900px;
45-
margin: 50px auto;
46-
}
47-
4840
@media only screen and (max-width: 1200px) {
4941
.tabs-section {
5042
margin: 30px 10px;
@@ -112,10 +104,6 @@ td.bold-text {
112104
min-width: 120px;
113105
}
114106

115-
.scientific-domains td.bold-text {
116-
color: var(--colorPrimaryDark);
117-
}
118-
119107
img.cell-layout {
120108
border-radius: 10px;
121109
width: 50px;
@@ -139,7 +127,6 @@ td.full-center-text {
139127
td.lastrow-center-text {
140128
text-align: center;
141129
line-height: 35%;
142-
border-bottom: 1px solid rgb(255, 255, 255);
143130
}
144131

145132
/* Array Libraries */
@@ -151,4 +138,4 @@ img.first-column-layout {
151138

152139
td.left-text {
153140
vertical-align: middle;
154-
}
141+
}

0 commit comments

Comments
 (0)