-
Notifications
You must be signed in to change notification settings - Fork 16
/
header.php
147 lines (142 loc) · 26.4 KB
/
header.php
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
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo get_template_directory_uri(); ?>/dist/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?php echo get_template_directory_uri(); ?>/dist/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<?php echo get_template_directory_uri(); ?>/dist/images/favicon-16x16.png">
<link rel="manifest" href="<?php echo get_template_directory_uri(); ?>/site.webmanifest">
<link rel="mask-icon" href="<?php echo get_template_directory_uri(); ?>/dist/images/safari-pinned-tab.svg" color="#b01109">
<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/dist/images/favicon.ico">
<meta name="application-name" content="Pressbooks">
<meta name="msapplication-TileColor" content="#b01109">
<meta name="msapplication-config" content="<?php echo get_template_directory_uri(); ?>/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /><?php // TODO ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<svg style="position: absolute; width: 0; height: 0;" width="0" height="0" xmlns="http://www.w3.org/2000/svg">
<defs>
<symbol id="icon-pressbooks" fill="currentColor" viewBox="0 0 45 44">
<path d="M44.195 41.872c0 .745-.618 1.346-1.377 1.346H1.377C.617 43.219 0 42.617 0 41.872V1.347C0 .604.618 0 1.377 0h41.44c.76 0 1.378.604 1.378 1.347v40.525zM15.282 10.643h-5.21v21.43h3.304V24h1.906c1.435 0 2.656-.5 3.665-1.504 1.008-1.004 1.513-2.213 1.513-3.626v-3.113c0-1.47-.444-2.678-1.33-3.625-.956-.993-2.24-1.489-3.848-1.489zm1.977 5.165h-.001v3.131c0 .513-.184.952-.55 1.318a1.826 1.826 0 0 1-1.338.547h-1.994v-6.86h1.995c.571 0 1.029.171 1.372.513.344.342.516.792.516 1.35zm5.84 16.265h6.118c.828 0 1.662-.25 2.502-.752a4.642 4.642 0 0 0 1.73-1.779c.526-.945.788-2.097.788-3.455 0-.545-.04-1.043-.122-1.486-.163-.868-.414-1.575-.751-2.122-.513-.81-1.137-1.352-1.871-1.625a3.325 3.325 0 0 0 1.154-.839c.78-.866 1.173-2.018 1.173-3.455 0-.876-.105-1.635-.315-2.274-.386-1.198-1.027-2.08-1.925-2.652-1.049-.672-2.225-1.008-3.531-1.008h-4.95v21.447zm3.568-12.69v-5.475h1.382c.652 0 1.184.212 1.592.634.443.456.665 1.13.665 2.018 0 .537-.065.987-.193 1.352-.35.982-1.039 1.471-2.064 1.471h-1.382zm0 9.493v-6.397h1.382c.815 0 1.433.25 1.853.751.466.549.7 1.42.7 2.617 0 .502-.075.948-.227 1.335-.432 1.13-1.208 1.694-2.326 1.694h-1.382z" />
</symbol>
<symbol id="logo-pressbooks" viewBox="0 0 265 40">
<path fill="#000" d="M51.979 1.754c2.75 0 4.942.868 6.579 2.602 1.514 1.656 2.272 3.768 2.272 6.34v5.442c0 2.472-.862 4.586-2.587 6.34-1.724 1.754-3.813 2.631-6.264 2.631H48.72v14.114h-5.651V1.754h8.91zm3.38 9.03c0-.977-.296-1.764-.882-2.364-.588-.597-1.371-.896-2.348-.896H48.72v11.99h3.409c.897 0 1.66-.32 2.287-.957a3.163 3.163 0 0 0 .942-2.303v-5.47zM74.255 1.754c3.149 0 5.462.868 6.937 2.602 1.295 1.516 1.943 3.63 1.943 6.34v5.442c0 2.652-1.006 4.893-3.02 6.727L84.3 39.222h-6.112l-3.425-14.114h-3.767v14.114h-5.651V1.754h8.91zm3.379 9.03c0-2.173-1.076-3.259-3.23-3.259h-3.408v11.99h3.409c.897 0 1.66-.32 2.287-.957a3.163 3.163 0 0 0 .942-2.302v-5.472zM89.145 39.22V1.724h16.087v5.681H94.796v10.227h7.625v5.682h-7.625V33.54h10.436v5.68zM127.808 29.892c.04 2.61-.639 4.843-2.034 6.697-.917 1.256-2.213 2.143-3.887 2.661-.897.278-1.944.418-3.14.418-2.212 0-4.047-.548-5.5-1.645-1.217-.896-2.179-2.117-2.886-3.661-.707-1.544-1.121-3.315-1.24-5.308l5.381-.388c.239 2.185.817 3.768 1.735 4.749.676.74 1.455 1.092 2.332 1.052 1.237-.039 2.223-.648 2.96-1.826.38-.578.569-1.407.569-2.485 0-1.555-.708-3.103-2.124-4.64l-5.024-4.758c-1.873-1.815-3.2-3.442-3.976-4.879-.837-1.615-1.257-3.37-1.257-5.267 0-3.411 1.146-5.995 3.438-7.75 1.415-1.057 3.17-1.586 5.263-1.586 2.014 0 3.739.447 5.173 1.346 1.116.697 2.018 1.672 2.706 2.93.687 1.256 1.101 2.701 1.24 4.335l-5.411.987c-.16-1.536-.598-2.73-1.317-3.589-.519-.616-1.266-.926-2.242-.926-1.037 0-1.823.459-2.362 1.374-.438.738-.658 1.656-.658 2.752 0 1.715.736 3.458 2.213 5.233.557.678 1.395 1.476 2.512 2.391 1.316 1.096 2.182 1.865 2.602 2.303 1.395 1.397 2.471 2.772 3.229 4.126.358.639.647 1.227.867 1.766.54 1.334.818 2.531.838 3.588zM150.383 29.892c.04 2.61-.637 4.843-2.032 6.697-.917 1.256-2.213 2.143-3.889 2.661-.897.278-1.944.418-3.138.418-2.213 0-4.049-.548-5.503-1.645-1.215-.896-2.178-2.117-2.885-3.661-.707-1.544-1.121-3.315-1.24-5.308l5.383-.388c.238 2.185.817 3.768 1.733 4.749.676.74 1.454 1.092 2.331 1.052 1.236-.039 2.223-.648 2.96-1.826.38-.578.57-1.407.57-2.485 0-1.555-.71-3.103-2.125-4.64l-5.024-4.758c-1.872-1.815-3.199-3.442-3.976-4.879-.838-1.616-1.256-3.372-1.256-5.268 0-3.412 1.146-5.995 3.44-7.75 1.414-1.058 3.168-1.587 5.262-1.587 2.013 0 3.737.448 5.173 1.346 1.116.698 2.018 1.673 2.706 2.93.688 1.257 1.102 2.702 1.242 4.336l-5.412.986c-.16-1.535-.599-2.73-1.316-3.588-.52-.616-1.266-.927-2.244-.927-1.036 0-1.823.46-2.362 1.374-.438.739-.658 1.656-.658 2.752 0 1.715.737 3.458 2.213 5.234.556.677 1.395 1.476 2.51 2.391 1.317 1.096 2.184 1.865 2.603 2.303 1.395 1.396 2.472 2.772 3.23 4.126.358.638.649 1.226.867 1.765.538 1.336.817 2.533.837 3.59zM155.077 39.22V1.724h8.463c2.231 0 4.245.588 6.04 1.764 1.535.998 2.631 2.543 3.29 4.636.359 1.117.538 2.442.538 3.977 0 2.512-.67 4.526-2.004 6.04a5.674 5.674 0 0 1-1.973 1.465c1.256.479 2.321 1.426 3.198 2.84.579.958 1.008 2.193 1.286 3.709.14.778.21 1.644.21 2.601 0 2.372-.449 4.386-1.345 6.04a8.075 8.075 0 0 1-2.96 3.11c-1.436.878-2.862 1.317-4.276 1.317h-10.467v-.001zm6.1-22.186h2.363c1.754 0 2.93-.856 3.528-2.57.219-.64.328-1.426.328-2.364 0-1.555-.379-2.73-1.137-3.53-.697-.736-1.605-1.105-2.72-1.105h-2.363v9.57zm0 16.595h2.363c1.912 0 3.239-.986 3.977-2.96.258-.676.387-1.455.387-2.332 0-2.092-.398-3.618-1.197-4.575-.717-.877-1.774-1.316-3.169-1.316h-2.363v11.183h.001zM187.88 1.276c2.491 0 4.607.877 6.353 2.631 1.743 1.754 2.616 3.868 2.616 6.34v20.452c0 2.491-.878 4.61-2.631 6.353-1.756 1.745-3.87 2.616-6.34 2.616-2.492 0-4.604-.877-6.34-2.631-1.734-1.753-2.602-3.866-2.602-6.34v-20.45c0-2.492.877-4.61 2.632-6.354 1.754-1.744 3.859-2.617 6.312-2.617zm3.078 8.85c0-.897-.313-1.66-.94-2.287a3.12 3.12 0 0 0-2.29-.941c-.896 0-1.664.314-2.302.941a3.085 3.085 0 0 0-.958 2.288v20.512c0 .898.319 1.66.958 2.287a3.17 3.17 0 0 0 2.302.943 3.12 3.12 0 0 0 2.29-.943c.627-.627.94-1.389.94-2.287V10.127zM210.663 1.276c2.49 0 4.61.877 6.353 2.631 1.746 1.754 2.617 3.868 2.617 6.34v20.452c0 2.491-.877 4.61-2.631 6.353-1.754 1.745-3.868 2.616-6.34 2.616-2.492 0-4.605-.877-6.34-2.631-1.733-1.753-2.602-3.866-2.602-6.34v-20.45c0-2.492.877-4.61 2.632-6.354 1.754-1.744 3.859-2.617 6.31-2.617zm3.08 8.85c0-.897-.316-1.66-.943-2.287s-1.39-.941-2.288-.941c-.898 0-1.665.314-2.302.941a3.09 3.09 0 0 0-.958 2.288v20.512c0 .898.32 1.66.958 2.287a3.166 3.166 0 0 0 2.302.943c.899 0 1.66-.315 2.288-.943.627-.627.943-1.389.943-2.287V10.127zM230.247 27.334V39.22h-5.652V1.723h5.652V15.09l6.907-13.366h6.025l-7.735 15.295 9.073 22.201h-6.644l-5.935-15.224zM264.784 29.892c.041 2.61-.637 4.843-2.032 6.697-.916 1.256-2.213 2.143-3.889 2.661-.896.278-1.943.418-3.138.418-2.213 0-4.048-.548-5.502-1.645-1.216-.896-2.178-2.117-2.886-3.661-.708-1.545-1.12-3.315-1.242-5.308l5.384-.388c.238 2.185.817 3.768 1.733 4.749.676.74 1.454 1.092 2.331 1.052 1.236-.039 2.223-.648 2.96-1.826.38-.578.57-1.407.57-2.485 0-1.555-.71-3.103-2.125-4.64l-5.024-4.758c-1.872-1.815-3.199-3.442-3.976-4.879-.838-1.616-1.258-3.372-1.258-5.268 0-3.412 1.147-5.995 3.44-7.75 1.415-1.058 3.169-1.587 5.263-1.587 2.012 0 3.737.448 5.173 1.346 1.115.698 2.018 1.673 2.705 2.93.688 1.257 1.102 2.702 1.242 4.336l-5.411.986c-.16-1.535-.6-2.73-1.316-3.588-.52-.616-1.266-.927-2.244-.927-1.036 0-1.823.46-2.362 1.374-.438.739-.658 1.656-.658 2.752 0 1.715.736 3.458 2.213 5.234.555.677 1.395 1.476 2.51 2.391 1.317 1.096 2.184 1.865 2.602 2.303 1.395 1.396 2.473 2.772 3.23 4.126.359.638.65 1.226.868 1.765.54 1.336.82 2.533.84 3.59z"/>
<path fill="#B01109" d="M39.549 37.515c0 .667-.553 1.205-1.232 1.205H1.232A1.217 1.217 0 0 1 0 37.515V1.25C0 .585.553.045 1.232.045h37.083c.681 0 1.234.54 1.234 1.205v36.265z"/>
<path fill="#EDEDED" d="M13.648 10.504c1.44 0 2.588.444 3.444 1.332.793.848 1.19 1.93 1.19 3.245v2.786c0 1.264-.452 2.346-1.354 3.244-.903.898-1.996 1.346-3.28 1.346h-1.705v7.225H8.986V10.504h4.662zm1.77 4.622c0-.5-.155-.903-.462-1.209-.307-.305-.717-.458-1.228-.458h-1.785v6.138h1.784c.468 0 .868-.163 1.197-.49.328-.327.492-.72.492-1.179v-2.802h.002zM20.644 29.682V10.489h4.429c1.169 0 2.222.3 3.16.902.803.511 1.377 1.301 1.722 2.374.188.57.282 1.25.282 2.034 0 1.286-.35 2.317-1.05 3.092a2.976 2.976 0 0 1-1.032.75c.657.245 1.215.73 1.674 1.455.302.49.526 1.123.672 1.899.073.397.11.842.11 1.33 0 1.215-.235 2.245-.705 3.092a4.154 4.154 0 0 1-1.55 1.591c-.75.45-1.497.674-2.238.674h-5.474zm3.193-11.356h1.236c.918 0 1.534-.438 1.847-1.317.115-.327.172-.73.172-1.21 0-.795-.197-1.397-.595-1.806-.365-.377-.84-.567-1.424-.567h-1.236v4.9zm0 8.494h1.236c1 0 1.695-.505 2.081-1.515.136-.347.204-.746.204-1.195 0-1.072-.21-1.85-.626-2.342-.376-.45-.93-.672-1.66-.672h-1.235v5.724z"/>
</symbol>
<symbol id="arrow-down" fill="currentColor" viewBox="0 0 512 512"><path d="M424 259c-6 0-11 2-16 6L278 393V1c0-12-10-22-23-22-12 0-22 10-22 22v392L103 265c-5-4-11-6-16-6-6 0-12 2-16 6-9 9-9 23 0 32l168 166c10 9 23 9 32 0l170-166c9-9 9-23 0-32-4-4-10-6-17-6"/></symbol>
<symbol id="arrow-left" fill="currentColor" viewBox="0 0 512 512"><path d="M220 45c0 6-3 12-7 17L79 200h410c12 0 23 11 23 25 0 13-11 24-23 24H79l134 138c4 5 7 11 7 17 0 7-3 13-7 18-10 9-24 9-33 0L7 242c-9-10-9-25 0-34L180 26c9-9 23-9 33 0 4 5 7 11 7 19"/></symbol>
<symbol id="arrow-right" fill="currentColor" viewBox="0 0 512 512"><path d="M291 32c0 6 3 12 7 17l133 135H23c-13 0-23 11-23 24s10 24 23 24h408L298 367c-4 4-7 10-7 16s3 12 7 17c10 9 24 9 33 0l173-176c9-9 9-23 0-33L331 15c-9-10-23-10-33 0-4 4-7 10-7 17"/></symbol>
<symbol id="arrow-up" fill="currentColor" viewBox="0 0 512 512"><path d="M424 189c-6 0-11-2-16-6L278 55v392c0 12-10 22-23 22-12 0-22-10-22-22V55L103 183c-5 4-11 6-16 6-6 0-12-2-16-6-9-9-9-23 0-32L239-15c10-9 23-9 32 0l170 166c9 9 9 23 0 32-4 4-10 6-17 6"/></symbol>
<symbol id="book" fill="currentColor" viewBox="0 0 512 512"><path d="M484 437H284c-7 0-14 7-14 15h-28c0-8-7-15-14-15H28V110h15v285c0 8 6 14 14 14h52c24 0 47-4 69-11 6-2 12-3 19-3 16 0 31 6 42 17l7 7c5 5 15 5 20 0l7-7c11-11 26-17 42-17 7 0 13 1 19 3 22 7 45 11 69 11h52c8 0 14-6 14-14V110h15zM71 82h29v227c0 8 6 15 14 15 39 0 75 16 101 44-15-3-31-2-46 3-19 6-39 9-60 9H71zm57-85c51 6 95 39 114 88v271c-28-34-69-56-114-60zm142 91l3-3c11-11 26-17 42-17 7 0 13 1 19 3 22 7 45 11 69 11h38v298h-38c-21 0-41-3-60-9-9-3-18-5-28-5-16 0-31 4-45 12zm228-6h-29V68c0-8-6-15-14-15h-52c-21 0-41-3-60-9-9-3-18-5-28-5-20 0-39 7-54 19-28-55-85-90-147-90-8 0-14 6-14 14v71H57c-8 0-14 7-14 15v14H14C6 82 0 88 0 96v356c0 7 6 14 14 14h199c0 8 7 14 15 14h56c8 0 15-6 15-14h199c8 0 14-7 14-14V96c0-8-6-14-14-14z"/></symbol>
<symbol id="cc-by" fill="currentColor" viewBox="0 0 512 512"><path d="M256 134c-23 0-34-12-34-35s11-35 34-35 35 12 35 35-12 35-35 35m50 13c5 0 9 2 11 4 4 4 6 7 6 12v100h-29v120h-76V263h-29V163c0-5 2-8 6-12 2-2 6-4 11-4h100M256-22c68 0 126 24 174 72s72 106 72 174-24 125-72 174c-48 48-106 72-174 72s-125-24-174-72c-48-49-72-106-72-174S34 98 82 50c49-48 106-72 174-72m0 447c55 0 103-20 142-59s59-87 59-142c0-56-20-103-59-142s-87-59-142-59-103 20-142 59-59 86-59 142c0 55 20 103 59 142s87 59 142 59"/></symbol>
<symbol id="cc-nc-eu" fill="currentColor" viewBox="0 0 512 512"><path d="M256-22c68 0 126 24 174 72s72 106 72 174-24 125-72 174c-48 48-106 72-174 72s-125-24-174-72c-48-49-72-106-72-174S34 98 82 50c49-48 106-72 174-72M67 158c-8 22-12 43-12 66 0 55 20 103 59 142s87 59 142 59c38 0 72-10 103-28 31-19 55-45 73-77l-126-55h-89c4 12 8 22 13 29 13 13 31 20 54 20 15 0 31-3 47-10l9 46c-19 10-40 15-64 15-43 0-77-15-100-47-11-15-19-33-23-53h-27v-30h22v-7c0-1 1-3 1-6s1-5 1-6h-24v-29h5l-64-29m249 58l135 59c4-16 6-33 6-51 0-56-20-103-59-142s-87-59-142-59c-35 0-67 8-97 25-29 16-54 38-72 66l81 36c3-5 7-11 14-19 25-28 56-42 94-42 24 0 45 4 63 12l-12 47c-14-7-29-10-45-10-22 0-39 7-52 23-3 3-6 8-8 14l29 12h70v29h-5"/></symbol>
<symbol id="cc-nc-jp" fill="currentColor" viewBox="0 0 512 512"><path d="M256-22c68 0 126 24 174 72s72 106 72 174-24 125-72 174c-48 48-106 72-174 72s-125-24-174-72c-48-49-72-106-72-174S34 98 82 50c49-48 106-72 174-72M65 165c-7 18-10 38-10 59 0 55 20 103 59 142s87 59 142 59c36 0 69-9 100-27 30-18 54-42 72-72l-78-34v34h-64v56h-61v-56h-63v-37h63v-19l-6-12h-57v-38h27L65 165m221 124h57l-54-25-3 6v19m64-52l99 44c5-19 8-39 8-57 0-56-20-103-59-142s-87-59-142-59c-36 0-69 9-99 26-30 18-54 41-72 71l81 35-28-50h66l39 85 23 10 42-95h66l-63 115h39v17"/></symbol>
<symbol id="cc-nc" fill="currentColor" viewBox="0 0 512 512"><path d="M256-22c68 0 126 24 174 72s72 106 72 174-24 125-72 174c-48 48-106 72-174 72s-125-24-174-72c-48-49-72-106-72-174S34 98 82 50c49-48 106-72 174-72M67 157c-8 22-12 44-12 67 0 55 20 103 59 142s87 59 142 59c38 0 72-10 103-29 32-19 56-44 73-76l-91-41c-3 16-11 29-24 38-13 10-27 16-44 18v37h-28v-37c-27 0-52-10-75-30l34-34c17 15 35 23 55 23 8 0 15-2 22-7 6-4 9-10 9-18 0-6-3-11-7-15l-24-11-29-13-39-16-124-57m259 63l124 55c4-15 7-32 7-51 0-56-20-103-59-142s-87-59-142-59c-35 0-67 8-96 25-30 16-54 38-72 66l93 42c4-12 12-22 24-31 11-8 24-12 40-13V74h28v38c24 2 44 9 62 23l-32 33c-15-10-29-15-43-15-8 0-15 2-19 4-7 4-10 9-10 16 0 3 1 5 2 6l31 14 22 9 40 18"/></symbol>
<symbol id="cc-nd" fill="currentColor" viewBox="0 0 512 512"><path d="M167 208v-42h178v42H167m0 78v-42h178v42H167m89-308c68 0 126 24 174 72s72 106 72 174-24 125-72 174c-48 48-106 72-174 72s-125-24-174-72c-48-49-72-106-72-174S34 98 82 50c49-48 106-72 174-72m0 447c55 0 103-20 142-59s59-87 59-142c0-56-20-103-59-142s-87-59-142-59-103 20-142 59-59 86-59 142c0 55 20 103 59 142s87 59 142 59"/></symbol>
<symbol id="cc-pd" fill="currentColor" viewBox="0 0 512 512"><path d="M256-22c68 0 126 24 174 72s72 106 72 174-24 125-72 174c-48 48-106 72-174 72s-125-24-174-72c-48-49-72-106-72-174S34 98 82 50c49-48 106-72 174-72M67 158c-8 22-12 43-12 66 0 55 20 103 59 142s87 59 142 59c38 0 72-10 103-28 31-19 55-45 73-77l-217-96c1 18 6 35 14 49 9 14 22 22 39 22 13 0 24-5 33-14l3-3 36 43c-1 1-3 2-5 4s-4 3-4 4c-21 15-45 22-70 22-29 0-56-10-81-30s-38-52-38-96c0-11 1-21 3-32l-78-35m158 18l226 99c4-16 6-33 6-51 0-56-20-103-59-142s-87-59-142-59c-35 0-67 8-97 25-29 16-54 38-72 66l76 34c22-35 55-52 100-52 30 0 56 9 77 28l-40 41-7-7c-8-5-17-8-27-8-18 0-31 9-41 26"/></symbol>
<symbol id="cc-remix" fill="currentColor" viewBox="0 0 512 512"><path d="M417 228l5 2v70l-5 2-60 25-2 1-3-1-129-53-4-2-63 27-64-28v-62l60-25-1-1v-70l66-28 151 62v61l49 20m-70 81v-44h-1v-1l-113-46v44l113 47v-1l1 1m7-57l40-17-37-15-39 16 36 16m53 38v-43l-45 18v43l45-18M256-22c68 0 126 24 174 72s72 106 72 174-24 125-72 174c-48 48-106 72-174 72s-125-24-174-72c-48-49-72-106-72-174S34 98 82 50c49-48 106-72 174-72m0 447c55 0 103-20 142-59s59-87 59-142c0-56-20-103-59-142s-87-59-142-59-103 20-142 59-59 86-59 142c0 55 20 103 59 142s87 59 142 59"/></symbol>
<symbol id="cc-sa" fill="currentColor" viewBox="0 0 512 512"><path d="M255 94c39 0 70 13 92 38 23 24 34 56 34 95 0 38-12 69-35 94-25 26-56 38-92 38-27 0-52-8-73-25-20-17-31-40-36-71h62c2 29 20 44 54 44 17 0 31-7 42-22 10-15 15-35 15-60 0-26-4-46-14-59-10-14-24-21-42-21-33 0-51 15-55 44h18l-49 48-48-48h18c5-31 18-54 37-70 20-17 44-25 72-25m1-116c68 0 126 24 174 72s72 106 72 174-24 125-72 174c-48 48-106 72-174 72s-125-24-174-72c-48-49-72-106-72-174S34 98 82 50c49-48 106-72 174-72m0 447c55 0 103-20 142-59s59-87 59-142c0-56-20-103-59-142s-87-59-142-59-103 20-142 59-59 86-59 142c0 55 20 103 59 142s87 59 142 59"/></symbol>
<symbol id="cc-share" fill="currentColor" viewBox="0 0 512 512"><path d="M356 153c4 0 8 2 11 4 2 3 4 6 4 10v181c0 3-2 6-4 9-3 3-7 4-11 4H223c-4 0-7-1-10-4s-4-6-4-9v-53h-53c-4 0-7-2-10-4-2-3-4-7-4-11V100c0-4 1-7 3-9s5-4 10-5h135c3 0 6 1 9 4s4 6 4 10v53h53m-135 0h55v-40H169v154h40V167c0-4 1-7 4-10 1-1 4-2 8-4m122 182V180H236v155h107M256-22c68 0 126 24 174 72s72 106 72 174-24 125-72 174c-48 48-106 72-174 72s-125-24-174-72c-48-49-72-106-72-174S34 98 82 50c49-48 106-72 174-72m0 447c55 0 103-20 142-59s59-87 59-142c0-56-20-103-59-142s-87-59-142-59-103 20-142 59-59 86-59 142c0 55 20 103 59 142s87 59 142 59"/></symbol>
<symbol id="cc-zero" fill="currentColor" viewBox="0 0 512 512"><path d="M256 82c37 0 63 13 78 41 16 28 23 61 23 101 0 39-7 72-23 100-15 27-41 41-78 41s-63-14-78-41c-16-28-23-61-23-100 0-40 7-73 23-101 15-28 41-41 78-41m-44 142c0 6 1 17 2 34l54-100c5-8 4-15-3-21-4-1-7-2-9-2-29 0-44 30-44 89m44 88c29 0 44-29 44-88 0-14-1-28-3-43l-60 104c-8 11-6 19 6 24 0 1 1 1 3 1 0 0 1 0 1 1 0 0 2 0 4 1h5m0-334c68 0 126 24 174 72s72 106 72 174-24 125-72 174c-48 48-106 72-174 72s-125-24-174-72c-48-49-72-106-72-174S34 98 82 50c49-48 106-72 174-72m0 447c55 0 103-20 142-59s59-87 59-142c0-56-20-103-59-142s-87-59-142-59-103 20-142 59-59 86-59 142c0 55 20 103 59 142s87 59 142 59"/></symbol>
<symbol id="cc" fill="currentColor" viewBox="0 0 512 512"><path d="M253-22c68 0 126 23 174 70s73 104 75 172c0 68-23 127-70 175s-105 73-173 75c-68 0-126-23-175-70-48-48-73-105-74-173S32 100 79 52c48-48 106-73 174-74m6 440c53-1 99-21 136-59 38-38 56-84 56-138-1-54-21-100-59-137-39-37-85-55-138-55-54 1-100 21-137 59s-55 84-55 138c1 54 21 100 59 137s84 55 138 55m-63-153c13 0 23-7 29-21l29 16c-7 12-15 21-26 26-11 7-23 11-35 11-22 0-39-7-52-20-13-12-19-30-19-53s6-41 19-54 30-20 49-20c30 0 51 12 64 34l-32 16c-3-6-7-11-12-14s-10-4-14-4c-21 0-31 14-31 42 0 13 2 23 7 30 6 7 14 11 24 11m136 0c14 0 24-7 28-21l30 16c-6 11-15 20-25 26-11 7-23 11-36 11-22 0-39-7-51-20-13-12-20-30-20-53 0-22 7-40 20-54 12-13 29-20 50-20 28 0 49 12 61 34l-31 16c-3-6-7-11-12-14s-9-4-14-4c-21 0-32 14-32 42 0 12 3 22 8 30 6 7 14 11 24 11"/></symbol>
<symbol id="graph" fill="currentColor" viewBox="0 0 512 512"><path d="M130 446c10 0 18-9 18-18V260c0-11-9-19-18-19H20c-10 0-17 9-17 19v167c0 10 8 18 17 18h110zM38 279h73v129H38zm163 167h110c10 0 18-9 18-18V11c0-11-9-19-18-19H201c-10 0-18 9-18 19v417c0 9 8 18 18 18zm18-417h73v379h-73zm273 60H382c-10 0-18 9-18 19v319c0 10 9 18 18 18h110c10 0 17-9 17-18V108c0-11-7-19-17-19zm-18 319h-73V126h73z"/></symbol>
<symbol id="like" fill="currentColor" viewBox="0 0 512 512"><path d="M132 11c-34 0-68 12-93 38-52 51-52 135 0 186l198 197c6 7 18 7 25 0 66-65 132-131 198-197 51-51 51-134 0-186-52-51-135-51-187 0l-24 24-24-24c-26-26-59-38-93-38zm68 63l37 37c6 6 18 6 25 0l36-36c38-38 99-38 137 0 37 37 37 97 0 135-62 62-124 123-186 185L64 210c-38-38-38-98 0-136 40-36 99-38 136 0z"/></symbol>
<symbol id="search" fill="currentColor" viewBox="0 0 512 512"><path d="M493 384L368 259c18-29 29-62 29-99 0-106-86-192-192-192S13 54 13 160s86 192 192 192c36 0 70-11 99-28l125 124c9 9 23 9 32 0l32-32c9-9 9-23 0-32zm-288-96c-71 0-128-57-128-128S134 32 205 32c70 0 128 57 128 128s-58 128-128 128z"/></symbol>
<symbol id="share-books" fill="currentColor" viewBox="0 0 512 512"><path d="M240 188v36h36zm56-28h36l-36-36zM256-32C115-32 0 83 0 224s115 256 256 256 256-115 256-256S397-32 256-32zm40 256v104c0 9-7 16-16 16h-96c-9 0-16-7-16-16V184c0-9 7-16 16-16h56v3l4-3 52 52-3 4zm56-64v104c0 9-7 16-16 16h-24v-16h24v-88h-40c-9 0-16-7-16-16v-40h-40v32h-16v-32c0-9 7-16 16-16h56v3l4-3 52 52-3 4zm-128 64v-40h-40v144h96v-88h-40c-9 0-16-7-16-16z"/></symbol>
<symbol id="speechbubble" fill="currentColor" viewBox="0 0 512 512"><path d="M375 169H123c-7 0-12-7-12-14 0-8 5-14 12-14h252c7 0 12 6 12 14 0 7-5 14-12 14zm-29 55c0-8-6-14-13-14H123c-7 0-12 6-12 14s5 14 12 14h210c7 0 13-6 13-14zm99 125h18c27 0 49-22 49-48V78c0-27-22-48-49-48H49C22 30 0 52 0 78v223c0 26 22 47 49 47h305l45 70zm16-291c13 0 23 10 23 23v224c0 13-10 23-23 23h-32l-31 48-31-48H51c-13 0-23-10-23-23V81c0-13 10-23 23-23z"/></symbol>
<symbol id="twitter" fill="currentColor" viewBox="0 0 512 512"><path d="M161 433c193 0 299-161 299-300v-14c20-15 38-34 52-55-19 9-40 14-60 17 22-13 38-34 46-59-21 13-43 21-67 26-32-35-84-44-126-21s-64 71-53 117c-84-4-163-44-216-110C8 82 22 144 68 175c-17 0-33-5-48-13v1c0 50 36 94 85 104-16 4-32 5-48 2 14 43 54 72 98 73-37 30-83 46-130 45-8 0-17 0-25-1 48 31 104 47 161 47"/></symbol>
<symbol id="twitter-icon" fill="currentColor" viewBox="0 0 1792 1792"><path d="M1408 610q-56 25-121 34 68-40 93-117-65 38-134 51-61-66-153-66-87 0-148.5 61.5t-61.5 148.5q0 29 5 48-129-7-242-65t-192-155q-29 50-29 106 0 114 91 175-47-1-100-26v2q0 75 50 133.5t123 72.5q-29 8-51 8-13 0-39-4 21 63 74.5 104t121.5 42q-116 90-261 90-26 0-50-3 148 94 322 94 112 0 210-35.5t168-95 120.5-137 75-162 24.5-168.5q0-18-1-27 63-45 105-109zm256-194v960q0 119-84.5 203.5t-203.5 84.5h-960q-119 0-203.5-84.5t-84.5-203.5v-960q0-119 84.5-203.5t203.5-84.5h960q119 0 203.5 84.5t84.5 203.5z"/></symbol>
<symbol id="linkedin-icon" fill="currentColor" viewBox="0 0 1792 1792"><path d="M365 1414h231v-694h-231v694zm246-908q-1-52-36-86t-93-34-94.5 34-36.5 86q0 51 35.5 85.5t92.5 34.5h1q59 0 95-34.5t36-85.5zm585 908h231v-398q0-154-73-233t-193-79q-136 0-209 117h2v-101h-231q3 66 0 694h231v-388q0-38 7-56 15-35 45-59.5t74-24.5q116 0 116 157v371zm468-998v960q0 119-84.5 203.5t-203.5 84.5h-960q-119 0-203.5-84.5t-84.5-203.5v-960q0-119 84.5-203.5t203.5-84.5h960q119 0 203.5 84.5t84.5 203.5z"/></symbol>
<symbol id="github-icon" fill="currentColor" viewBox="0 0 1792 1792"><path d="M647 1200q4-6-3-13-9-7-14-2-4 6 3 13 9 7 14 2zm-28-41q-5-7-12-4-6 4 0 12 7 8 12 5 6-4 0-13zm-41-40q2-4-5-8-7-2-8 2-3 5 4 8 8 2 9-2zm21 23q2-1 1.5-4.5t-3.5-5.5q-6-7-10-3t1 11q6 6 11 2zm86 75q2-7-9-11-9-3-13 4-2 7 9 11 9 3 13-4zm42 3q0-8-12-8-10 0-10 8t11 8 11-8zm39-7q-2-7-13-5t-9 9q2 8 12 6t10-10zm642-317q0-212-150-362t-362-150-362 150-150 362q0 167 98 300.5t252 185.5q18 3 26.5-5t8.5-20q0-52-1-95-6 1-15.5 2.5t-35.5 2-48-4-43.5-20-29.5-41.5q-23-59-57-74-2-1-4.5-3.5l-8-8-7-9.5 4-7.5 19.5-3.5q6 0 15 2t30 15.5 33 35.5q16 28 37.5 42t43.5 14 38-3.5 30-9.5q7-47 33-69-49-6-86-18.5t-73-39-55.5-76-19.5-119.5q0-79 53-137-24-62 5-136 19-6 54.5 7.5t60.5 29.5l26 16q58-17 128-17t128 17q11-7 28.5-18t55.5-26 57-9q29 74 5 136 53 58 53 137 0 57-14 100.5t-35.5 70-53.5 44.5-62.5 26-68.5 12q35 31 35 95 0 40-.5 89t-.5 51q0 12 8.5 20t26.5 5q154-52 252-185.5t98-300.5zm256-480v960q0 119-84.5 203.5t-203.5 84.5h-960q-119 0-203.5-84.5t-84.5-203.5v-960q0-119 84.5-203.5t203.5-84.5h960q119 0 203.5 84.5t84.5 203.5z"/></symbol>
</defs>
</svg>
<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'pressbooks-book' ); ?></a>
<?php get_template_part( 'partials/content', 'accessibility-toolbar' ); ?>
<header class="header" role="banner">
<div class="header__inside">
<div class="header__brand">
<?php
$root_id = get_network()->site_id;
switch_to_blog( $root_id );
?>
<a aria-label="<?php echo get_bloginfo( 'name', 'display' ); ?>" href="<?php echo network_home_url(); ?>">
<?php
if ( has_custom_logo( $root_id ) ) {
$custom_logo_id = get_theme_mod( 'custom_logo' );
printf(
'<img class="header__logo--img" src="%1$s" srcset="%2$s" alt="%3$s" />',
wp_get_attachment_image_src( $custom_logo_id, 'logo' )[0],
wp_get_attachment_image_srcset( $custom_logo_id, 'large' ),
/* translators: %s: name of network */
sprintf( __( 'Logo for %s', 'pressbooks-book' ), get_bloginfo( 'name', 'display' ) )
);
} else {
?>
<svg class="header__logo--svg" role="img" aria-label="
<?php
/* translators: %s: name of network */
printf( __( 'Logo for %s', 'pressbooks-book' ), 'Pressbooks' );
?>
">
<use href="#logo-pressbooks" />
</svg>
<?php
}
restore_current_blog();
?>
</a>
</div>
<div class="header__nav">
<a class="header__nav-icon js-header-nav-toggle" href="#navigation"><?php esc_html_e( 'Toggle Menu', 'pressbooks-book' ); ?><span class="header__nav-icon__icon"></span></a>
<nav aria-labelledby="primary-nav" class="js-header-nav" id="navigation">
<p id="primary-nav" class="screen-reader-text"><?php esc_html_e( 'Primary Navigation', 'pressbooks-book' ); ?></p>
<ul id="nav-primary-menu" class="nav--primary">
<?php echo \PressbooksBook\Helpers\display_menu(); ?>
</ul>
</nav>
</div>
</div>
<?php if ( \PressbooksBook\Helpers\should_cta_banner_be_displayed() && \PressbooksBook\Helpers\is_book_public() ) : ?>
<div class="cta hidden">
<p><?php echo sprintf( esc_html__( 'Want to create or adapt books like this? %s about how Pressbooks supports open publishing practices.', 'pressbooks-book' ), sprintf( '<a href="%1$s" target="_blank">%2$s</a>', esc_url( 'https://pressbooks.com/adapt-open-textbooks?utm_source=book&utm_medium=banner&utm_campaign=bbc' ), esc_html__( 'Learn more', 'pressbooks-book' ) ) ); ?>
<a id="close-cta" href="javascript:void()" aria-label="Close banner">
<svg xmlns="http://www.w3.org/2000/svg" class="close-cta__icon" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" role="presentation">
<path stroke-linecap="round" stroke-linejoin="round" d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</a>
</p>
</div>
<?php endif; ?>
<?php if ( ! is_front_page() && pb_get_first_post_id() ) { ?>
<div class="reading-header">
<nav aria-labelledby="book-toc" class="reading-header__inside">
<p id="book-toc" class="screen-reader-text"><?php esc_html_e( 'Book Contents Navigation', 'pressbooks-book' ); ?></p>
<?php if ( is_single() ) { ?>
<div class="reading-header__toc dropdown">
<div class="reading-header__toc__title"><?php esc_html_e( 'Contents', 'pressbooks-book' ); ?></div>
<div class="block-reading-toc" hidden>
<?php include( locate_template( 'partials/content-toc.php' ) ); ?>
</div>
</div>
<?php } else { ?>
<div class="reading-header__toc"></div>
<?php } ?>
<?php /* translators: %s: the title of the book */ ?>
<h1 class="reading-header__title" ><a href="<?php echo home_url( '/' ); ?>" aria-label="<?php printf( __( 'Go to the cover page of %s', 'pressbooks-book' ), esc_attr( get_bloginfo( 'name', 'display' ) ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<div class="reading-header__end-container">
<?php if ( array_filter( get_option( 'pressbooks_ecommerce_links', [] ) ) ) : ?>
<a href="<?php echo home_url( '/buy/' ); ?>"><?php esc_html_e( 'Buy', 'pressbooks-book' ); ?></a>
<?php endif; ?>
</div>
</nav>
</div>
<?php } ?>
</header>
<main id="main">
<div id="content" class="site-content" tabindex="-1">