Skip to content

Commit 85552dd

Browse files
committed
updating CSS for screen width and font size
1 parent 6a1a8ce commit 85552dd

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

css/cardlist.css

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/* cardlist used by documentation and try pages */
22

33
.cardlist {
4-
margin-bottom: 20px;
4+
margin: 10px auto 20px auto;
5+
max-width: 980px;
56
}
67

78
.cardlist-col {
@@ -18,15 +19,18 @@
1819
.card-heading {
1920
padding: 16px;
2021
/* color is on purpose not Jupyter Orange */
21-
background: #1976D2;
22+
background: #2e9be4;
2223
color: white;
23-
font-size: 14px;
2424
font-weight: normal;
2525
line-height: 14px;
2626
border-top-left-radius: 2px;
2727
border-top-right-radius: 2px;
2828
}
2929

30+
.card-heading h4 {
31+
font-size: 1.8em;
32+
}
33+
3034
.card-body {
3135
padding: 16px;
3236
border-bottom-left-radius: 2px;
@@ -41,7 +45,7 @@
4145
.card-body li {
4246
list-style: none;
4347
padding: 4px 0px 4px 0px;
44-
font-size: 14px;
48+
font-size: 1.3em;
4549
}
4650

4751

@@ -77,4 +81,3 @@ img.try-logo {
7781
object-fit: contain;
7882
margin: 12px auto;
7983
}
80-

css/logo-nav.css

+4
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,10 @@ body {
291291
background-color: white;
292292
}
293293

294+
.header p {
295+
margin: 0 30%;
296+
}
297+
294298
/* Section elements */
295299
/* Section classes used for particular sections within a page. Sections should differ in background color when used next to each other */
296300
.section-white {

css/markdown_page.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ div.page_content img {
66
}
77

88
div.page_content, div.post_content {
9-
margin: 0;
109
padding: 0;
10+
margin: 0px auto;
11+
max-width: 980px;
1112
}
1213

1314
div.page_content.container > p,

0 commit comments

Comments
 (0)