-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
135 lines (103 loc) · 2.5 KB
/
style.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
/*------------- checkbox alignment for html checkbox---------------- */
ul {
list-style-position: inside;
padding-left: 0;
font-weight: normal
}
/*------------- checkbox alignment for markdown checkbox---------------- */
input[type="checkbox"] {
margin-right: 0.5ch;
}
/*------------- GitHub boxes that look like the buttons on GitHub---------------- */
.github_button {
border-radius: 8px;
border: 1px solid #black;
background: #20873e;
color: white !important;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
padding: 8px 16px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
transition-duration: 0.4s;
cursor: pointer;
}
/*------------- button link color---------------- */
.github_button a:link{
color: #fff;
}
/*------------- box around title and title font ---------------- */
.title {
font-family: 'Avenir';
font-size: 4em !important;
color: #193a5c;
margin-top: 0.275em !important;
margin-bottom: 0.35em !important;
border-radius: 8px;
border: 4px solid #986753;
background: #90ceff;
color: #565a59;
padding: 8px 16px;
text-align: center;
width: 500px;
margin: auto;
}
/*-----------icon------*/
.icon{
width: 3%;
}
}
/*------------- Body and header text---------------- */
.book.font-family-1 {
font-family: 'Karla', arial, sans-serif;
}
/*------------- Change header color---------------- */
h1, h2, h3 {
font-family: 'Lora', arial, sans-serif;
color:#5ca5ff;
}
/*------------- Change link color---------------- */
a {
color: #0598a8;
}
/*------------- Numbering for header level 2 ---------------- */
body {
counter-reset: h2;
}
h2::before {
counter-increment: h2;
content: counter(h2) ". ";
}
/*------------- add warning and github boxes---------------- */
div.warning{
border: 4px #e0471c;
border-style: solid;
padding: 1em;
margin: 1em 0;
padding-left: 100px;
background-size: 70px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
background-color: #e8ebee;
}
div.warning{
background-image: url("resources/images/warning.png");
}
div.github{
border: 4px #000000;
border-style: solid;
padding: 1em;
margin: 1em 0;
padding-left: 100px;
background-size: 70px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
background-color: #e8ebee;
}
div.github{
background-image: url("resources/images/github.png");
}