-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCSstyle.css
136 lines (119 loc) · 2.22 KB
/
CSstyle.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/* Set the white background */
div.learningobject {
color: #000; /* Set text color to black for better contrast */
font-family: "Inter", sans-serif; /* Use Roboto as the primary font */
max-width: 800px;
margin-left: auto;
margin-right: auto;
margin-bottom: 100px;
padding-left: 10px;
padding-right: 10px;
border: black;
background-color: #f7f7f7;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
border-radius: 2px;
}
/* Define styles for different heading levels */
h1 {
font-size: 70px;
padding-bottom: 10pt;
border-bottom: 1pt solid lightgrey;
}
h2 {
font-size: 40px;
margin-bottom: 4px;
}
h3 {
font-size: 30px;
margin-bottom: 2px;
}
h4 {
font-size: 20px;
margin-bottom: 2px;
}
/* Set the link color to #346EDD */
a {
color: #346edd;
text-decoration: none;
}
/* Define font for secondary text elements */
p {
font-size: 18px;
font-family: "Inter", sans-serif;
}
pre {
font-size: 18px;
}
ul,
ol,
li {
font-size: 18px;
font-family: "Inter", sans-serif;
}
figcaption {
font-size: 14px;
text-align: center;
color: gray;
}
div.example {
border: solid #f7f7ff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
padding: 5pt;
margin-bottom: 20px;
}
div.footnote {
color: gray;
font-size: 14px;
}
p.code {
background-color: #f6f6f6;
color: black;
padding-left: 3pt;
padding-right: 3pt;
font-size: 18px;
}
img {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.video-container,
.youtube-video-container {
position: relative;
overflow: hidden;
width: 90%;
margin: 15pt 5% 15pt 5%;
}
.video-container::after,
.youtube-video-container::after {
display: block;
content: "";
padding-top: 56.25%;
}
.video-container iframe,
.youtube-video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
margin-top: 10px;
align-items: center;
}
.grid-item {
padding: 10px;
border-radius: 5px;
}
.grid-item img {
max-width: 100%;
}
.span-two-columns {
grid-column: span 2;
font-size: 18px;
}
.full-row {
grid-column: span 3;
}