-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathOTTR_style.css
More file actions
203 lines (161 loc) · 3.9 KB
/
OTTR_style.css
File metadata and controls
203 lines (161 loc) · 3.9 KB
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
/*------------- 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;
}
/*------------- png boxes button style---------------- */
.github_gray_button {
border-radius: 8px;
border: 1px solid #black;
background: #E8E8E8;
color: black !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;
}
.png_button {
position: absolute; /*----placement of button--*/
top: 20px; /*----placement of button--*/
right: 5%; /*----placement of button--*/
border: 4px solid #black;
border-radius: 8px;
background: lightgray;
color: black;
padding: 8px 16px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
transition-duration: 0.4s;
cursor: pointer;
}
/*------------- timestamp style---------------- */
.time {
margin-top:60px;
font-size: 20px;
}
/*------------- authors style ---------------- */
div.authors {
text-indent: 0%;
list-style-position: outside;
font-size: 11px;
font-style: italic;
line-height: 1.6;
}
/*------------- button link color---------------- */
.github_button a:link{
color: #fff;
}
.png_button a:link{
color: black;
}
.github_button a:visited{
color: #fff;
}
/*------------- box around title and title font ---------------- */
.header_box {
margin: auto;
font-family: 'Avenir';
font-size: 40px;
color: #193a5c;
font-weight: 500;
border-radius: 8px; /*---rounded box ---*/
border: 4px solid #986753;
background: #90ceff;
color: #565a59;
text-align: center;
align-content: center;
align-items: center;
align-self: center;
width: 440px;
height: auto;
padding-top: 20px;
padding-right: 10px;
padding-bottom: 20px;
padding-left: 10px;
}
/*-----------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 {
margin-top:100px; /*--leave room after header---*/
/*- padding-top: 50px;--- */
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("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("images/github.png");
}