-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathwebsite.css
147 lines (124 loc) · 2.6 KB
/
website.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
137
138
139
140
141
142
143
144
145
146
/* This CSS code is applied for browser-only rendering in HTML format */
.readme-book-cover-image {
float: right;
margin-left: 10px;
width: 50%;
}
@media screen and (min-width 480px) {
.readme-book-cover-image {
float: none;
}
}
.markdown-section code {
padding: 0.2em 0em;
border-radius: 0.25em;
font-size: 1em;
}
.markdown-section pre {
padding: 0.4em 0.6em;
border-radius: 0.25em;
line-height: 1.5em;
margin-bottom: 1em;
}
.markdown-section pre>code {
font-size: 1em;
}
.markdown-section h1, .markdown-section h2, .markdown-section h3, .markdown-section h4, .markdown-section h5, .markdown-section h6 {
margin-top: 0.7em;
margin-bottom: .3em;
}
.markdown-section table {
width: auto;
}
.markdown-section table th {
background: #eee;
}
.page-wrapper .page-inner {
max-width: 960px;
padding-left: 20px;
}
a.run-code-button:hover, a.run-code-button:focus {
background: #98d598;
text-decoration: none;
}
a.run-code-button {
float: right;
background: #cae7ca;
border-radius: 4px;
padding: 3px 10px;
text-shadow: 0px 0px 2px white;
border: 1px solid #add2ad;
margin-top: 3px;
}
span.run-code-loading {
float: right;
background: #ffd02b;
border-radius: 4px;
padding: 3px 10px;
text-shadow: 0px 0px 2px white;
border: 1px solid #eec036;
margin-top: 3px;
margin-left: 10px;
cursor: wait;
}
.video-player {
width: 100%;
position: relative;
padding: 2px 0 56.25% 0;
height: 0;
}
.video-player iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* Top navigation menu */
.topnav {
padding: 10px 5px 5px 15px;
border-radius: 3px;
background-color: #f1f1f1;
overflow: hidden;
display: flex;
align-items: center;
}
.topnav a {
font-size: 1.05em;
text-align: center;
display: inline-block;
color: #333333;
padding-right: 2.0em;
}
.topnav .logo {
padding-top: 0.4em;
width: 130px;
min-width: 100px;
}
@media screen and (max-width: 1024px) {
.topnav a {
font-size: 0.95em;
}
}
@media screen and (max-width: 880px) {
.topnav .logo {
content: url("/assets/software-university-vertical-logo.svg");
padding: 5px 0;
width: 50px;
min-width: 40px;
}
.topnav {
white-space: normal;
flex-direction: row;
}
.topnav a {
font-size: 90%;
padding-right: 7%;
}
}
@media screen and (max-width: 450px) {
.topnav a {
padding-right: 1.2em;
font-size: 80%;
}
}