pinout.vvzero.com/resources/pinout.css

623 lines
11 KiB
CSS
Raw Normal View History

2015-02-25 01:28:00 +08:00
* {margin:0;padding:0;text-decoration:none;}
body {font-family:'Avenir', sans-serif;font-weight:500;}
2015-02-25 01:28:00 +08:00
pre {font-family:'Ubuntu Mono', sans-serif;font-size:13px;}
ul.bottom a {color:#E9E5D2;}
ul.top a {color:#063541;}
table {margin:20px 0;border-collapse:collapse;}
table td, table th {border:1px solid #073642;padding:5px;}
table th {background:#073642;color:#EBE6D3;}
2016-09-28 02:17:45 +08:00
table {text-align:left;font-size:13px;}
table.details {width:100%;}
table.details td, table.details th {border:none;font-size:16px;vertical-align:top;}
table.details img {margin-top:54px;}
2015-03-22 01:27:02 +08:00
table.pin-functions {width:100%;}
table.pin-functions td {width:16.6666%;}
2016-02-21 21:21:22 +08:00
.prettyprint {
2016-11-01 08:15:41 +08:00
word-wrap:break-word;
2016-02-21 21:21:22 +08:00
}
2016-01-31 05:59:01 +08:00
.logo {
2016-11-01 08:15:41 +08:00
width:250px;
font-size:24px;
line-height:23px;
cursor:pointer;
position: absolute;
left:0px;
top:28px;
z-index:1;
font-weight:600;
2015-03-27 22:30:22 +08:00
}
2016-01-31 05:59:01 +08:00
.logo a {color:#FFFFFF;}
.logo img {float:left;margin:0 13px;top:8px;}
2016-01-31 05:59:01 +08:00
.logo a:hover span, .logo a:hover, .logo a:hover span.out {
2016-11-01 08:15:41 +08:00
color:#FFFFFF;
2016-01-31 05:59:01 +08:00
}
2015-11-08 06:35:56 +08:00
img.grayscale {
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
filter: gray; /* IE6-9 */
-webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}
2016-01-31 05:59:01 +08:00
#container {
2016-11-01 08:15:41 +08:00
width:1000px;
margin:0 auto;
position:relative;
padding-top:4px;
2015-03-27 22:30:22 +08:00
}
2016-01-31 05:59:01 +08:00
/*
Footer language nav
2016-01-31 05:59:01 +08:00
*/
2016-01-31 19:23:30 +08:00
#lang {
2016-11-01 08:15:41 +08:00
display:block;
overflow:hidden;
background:#C7C2AE;
position:absolute;
bottom:0px;
width:100%;
2016-01-31 19:23:30 +08:00
}
2016-01-31 05:59:01 +08:00
2016-01-31 19:23:30 +08:00
.lang-nav {
2016-11-01 08:15:41 +08:00
line-height:30px;
display:block;
overflow:hidden;
float:right;
margin:0;
padding:0;
margin-right:10px;
list-style:none;
2015-03-22 05:11:54 +08:00
}
2016-01-31 19:23:30 +08:00
.lang-nav li {
2016-11-01 08:15:41 +08:00
margin:0;
padding:0;
float:left;
2015-03-22 05:11:54 +08:00
}
2016-01-31 19:23:30 +08:00
.lang-nav li:last-child {
2016-11-01 08:15:41 +08:00
border-right:none;
padding-right:0px;
2015-03-22 05:11:54 +08:00
}
2016-01-31 19:23:30 +08:00
.lang-nav li a {
2016-11-01 08:15:41 +08:00
padding-left:10px;
color:#6D6D6D;
font-size:16px;
2015-03-22 05:11:54 +08:00
}
2016-01-31 19:23:30 +08:00
.lang-nav li a:hover {
2016-11-01 08:15:41 +08:00
color:#D6264E;
2015-03-22 05:11:54 +08:00
}
2016-01-31 05:59:01 +08:00
/*
Content Area
*/
#content {
2016-11-01 08:15:41 +08:00
float:left;
background:#EBE6D3;
width:500px;
min-height:640px;
position: relative;
padding-bottom:50px;
2016-01-31 05:59:01 +08:00
}
.boards-page #content {
2016-11-01 08:15:41 +08:00
width:698px;
}
2016-01-31 05:59:01 +08:00
#content h1 {font-size:30px;}
#content h2 {font-size:20px;margin-top:20px;}
2016-02-04 06:06:19 +08:00
#content h1,h2,h3,h4,h5 {font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;}
2016-01-31 05:59:01 +08:00
#content article {
2016-11-01 08:15:41 +08:00
padding:15px;
2016-01-31 05:59:01 +08:00
}
p.intro {
2016-11-01 08:15:41 +08:00
color:#268BD2;
2016-01-31 05:59:01 +08:00
}
p,pre {
2016-11-01 08:15:41 +08:00
margin-top:10px;
font-size: 16px;
line-height: 150%;
2016-01-31 05:59:01 +08:00
}
h3 {
2016-11-01 08:15:41 +08:00
color:#D33682;
font-size:22px;
font-weight:bold;
2016-01-31 05:59:01 +08:00
}
article a {color:#859900;text-decoration:underline;}
article ul {margin-left:20px;margin-top:10px;margin-bottom:10px;}
2016-01-31 05:59:01 +08:00
/*
Featured Boards
2016-01-31 05:59:01 +08:00
*/
#featured {
2016-11-01 08:15:41 +08:00
overflow:hidden;
background:#C32672;
}
#featured .more {
border: 2px solid #fff;
padding: 3px 3px;
display: block;
color: #FFF;
clear: both;
margin: 0 auto;
white-space: pre;
width: 270px;
text-align: center;
margin-bottom: 8px;
margin-top: 8px;
height: 22px;
font-size: 16px;
line-height: 22px;
}
#featured .more:hover {
2016-11-01 08:15:41 +08:00
background:#D33682;
}
#featured ul {
2016-11-01 08:15:41 +08:00
overflow: hidden;
}
2016-11-02 04:40:35 +08:00
#boards .board, #featured .board {
2016-11-01 08:15:41 +08:00
box-sizing:border-box;
width:25%;
display:block;
float:left;
text-align:center;
}
#featured .board {width:25%;}
2016-11-02 04:40:35 +08:00
#boards .board a, #featured .board a {
2016-11-01 08:15:41 +08:00
padding-top: 20px;
padding-bottom: 0px;
min-height: 190px;
display:block;
2016-06-25 05:09:21 +08:00
}
#featured .board a {
2016-11-01 08:15:41 +08:00
min-height:130px;
padding-top: 10px;
padding-bottom: 10px;
}
2016-11-02 04:40:35 +08:00
#boards .board img, #featured .board img {
2016-11-01 08:15:41 +08:00
max-width:80%;
height:auto;
display:block;
margin:0 auto;
}
#featured .board img {max-width:50%;}
2016-11-02 04:40:35 +08:00
#boards .board a, #featured .board a {
2016-11-01 08:15:41 +08:00
background:none;
}
#featured .board a:hover {
2016-11-01 08:15:41 +08:00
background: #D33682;
}
2016-06-25 05:09:21 +08:00
#boards .board a:hover {
2016-11-01 08:15:41 +08:00
background: #fdfaf0;
2016-06-25 05:09:21 +08:00
}
2016-11-02 04:40:35 +08:00
#boards .board strong, #featured .board strong {
2016-11-01 08:15:41 +08:00
font-size:16px;
font-family: 'Avenir', sans-serif;
font-weight: 500;
color:#FFFFFF;
margin: 0;
padding: 0 5px;
display:block;
}
2016-06-25 05:09:21 +08:00
#boards .board strong {
2016-11-01 08:15:41 +08:00
color:#333333;
}
#boards .title {
display: block;
width: auto;
background: rgb(244, 242, 232);
padding-left: 20px;
padding-top: 30px;
clear: both;
margin-bottom: 10px;
border-top: 10px solid #ebe6d3;
}
#boards h2 {
font-size: 20px;
margin: 0;
padding: 0;
display: inline-block;
padding: 10px 20px 0px 20px;
background: #ebe6d3;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
position: relative;
height: 17px;
top: 5px;
2016-06-25 05:09:21 +08:00
}
2016-11-02 04:40:35 +08:00
#boards .board span, #featured .board span {
color: #FFFFFF;
font-size: 12px;
font-weight: normal;
margin: 0;
padding: 0 5px;
display:block;
}
2016-06-26 03:35:18 +08:00
.facets {
2016-11-01 08:15:41 +08:00
position: relative;
top: 90px;
padding: 4px 15px 15px 15px;
background: #073642;
2016-06-26 04:27:53 +08:00
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
margin-right: 18px;
2016-06-26 03:35:18 +08:00
}
.facets h4 {
2016-11-01 08:15:41 +08:00
text-transform: capitalize;
2016-07-10 20:27:47 +08:00
font-size: 16px;
2016-06-26 03:35:18 +08:00
margin: 10px 0 0 0;
color:#ffffff;
2016-06-26 03:35:18 +08:00
}
.facets ul, .facets li {
2016-11-01 08:15:41 +08:00
margin:0;
padding:0;
list-style:none;
2016-06-26 03:35:18 +08:00
}
.facets .facet li {
display: inline-block;
padding: 0px 10px 0px 10px;
margin-top: 2px;
margin-right: 2px;
background: #859900;
color: #FFF;
2016-07-10 20:27:47 +08:00
font-size: 13px;
2016-06-26 03:35:18 +08:00
line-height: 23px;
height: 22px;
cursor:pointer;
text-transform:capitalize;
2016-06-26 03:35:18 +08:00
}
.facets .facet li:hover, .facets .facet li.selected {
2016-11-01 08:15:41 +08:00
color: #859900;
2016-06-26 03:35:18 +08:00
background: #FFF;
}
.facets .facet:nth-of-type(2) li {
background: #D33682;
}
.facets .facet:nth-of-type(2) li:hover, .facets .facet:nth-of-type(2) li.selected {
2016-11-01 08:15:41 +08:00
color: #D33682;
2016-06-26 03:35:18 +08:00
background: #FFF;
}
.facets .facet:nth-of-type(1) li {
2016-11-01 08:15:41 +08:00
background: #268BD2;
2016-06-26 03:35:18 +08:00
}
.facets .facet:nth-of-type(1) li:hover, .facets .facet:nth-of-type(1) li.selected {
2016-11-01 08:15:41 +08:00
color: #268BD2;
2016-06-26 03:35:18 +08:00
background: #FFF;
}
2016-01-31 19:23:30 +08:00
/*
Footer
*/
.footer {clear: both;padding: 20px 0px;text-align:center;}
2016-01-31 19:23:30 +08:00
.footer a {color:#5F8645;}
/*
Left Column
*/
#leftcolumn {
2016-11-01 08:15:41 +08:00
float:left;
width:500px;
}
.boards-page #leftcolumn {
2016-11-01 08:15:41 +08:00
width:302px;
}
#crumbtrail {
2016-11-01 08:15:41 +08:00
background:#6c71c4;
}
#crumbtrail p {
2016-11-01 08:15:41 +08:00
color:#fff;
margin:0;
padding:5px 15px;
}
#crumbtrail a, #crumbtrail a:hover, #crumbtrail a:active {
2016-11-01 08:15:41 +08:00
color:#fff;
}
2016-11-02 04:40:35 +08:00
#crumbtrail a.more {
text-align:center;
display:block;
}
#crumbtrail a:hover {
2016-11-01 08:15:41 +08:00
text-decoration: underline;
}
#interfaces ul, #interfaces li {
2016-11-01 08:15:41 +08:00
list-style:none;
margin:0;
padding:0;
}
#interfaces li{
2016-11-01 08:15:41 +08:00
display:inline-block;
}
#interfaces {
2016-11-01 08:15:41 +08:00
background:#6c71c4;
padding: 10px;
width: 292px;
margin-top: 20px;
box-sizing: border-box;
border-top-right-radius:23px;
}
#interfaces li a {
2016-11-01 08:15:41 +08:00
display:inline-block;
padding:0px 10px 0px 10px;
margin-top:2px;
margin-right:2px;
background:#5c61b4;
color:#FFF;
font-size: 14px;
line-height: 23px;
height: 22px;
}
#interfaces li a:hover {color: #5c61b4;background:#FFF;}
#interfaces h2 {
color: #fff;
font-size: 20px;
line-height: 20px;
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
padding: 0px 0px 5px 0px;
}
2016-09-14 09:01:42 +08:00
2016-01-31 05:59:01 +08:00
/*
GPIO nav
*/
2016-10-28 05:51:06 +08:00
nav {
2016-11-01 08:15:41 +08:00
position:relative;
width:292px;
background:#5F8645;
min-height:653px;
margin-right:208px;
border-top-right-radius:46px;
border-bottom-right-radius:46px;
2016-01-31 05:59:01 +08:00
}
2016-10-28 05:51:06 +08:00
.boards-page nav {
2016-11-01 08:15:41 +08:00
margin-right:0;
}
2016-10-28 05:51:06 +08:00
nav:before, nav:after {
2016-11-01 08:15:41 +08:00
content:'';
display:block;
width:28px;
height:28px;
background:#FFFFFF;
border-radius:50%;
border:14px solid #F7DF84;
right:19px;
top:19px;
position: absolute;
2016-01-31 05:59:01 +08:00
}
2016-10-28 05:51:06 +08:00
nav:after {
2016-11-01 08:15:41 +08:00
top:auto;
bottom:19px;
2015-02-25 01:28:00 +08:00
}
2016-01-30 22:54:09 +08:00
.phys {
2016-11-01 08:15:41 +08:00
color:#002B36;
font-size:12px;
opacity:0.8;
position:absolute;
left:30px;
text-indent:0;
2016-01-30 22:54:09 +08:00
}
.bottom .phys {
2016-11-01 08:15:41 +08:00
text-align:right;
left:auto;
right:30px;
2015-02-25 01:28:00 +08:00
}
2016-10-28 05:51:06 +08:00
#gpio ul {
2016-11-01 08:15:41 +08:00
position:absolute;
top:87px;
list-style:none;
2015-02-25 01:28:00 +08:00
}
2016-10-28 06:00:51 +08:00
#gpio .top {
2016-11-01 08:15:41 +08:00
left:246px;
2016-10-28 06:00:51 +08:00
}
2016-10-28 05:51:06 +08:00
#gpio .bottom {
2016-11-01 08:15:41 +08:00
left:0px;
2015-02-25 01:28:00 +08:00
}
2016-10-28 05:51:06 +08:00
#gpio .top li {text-indent:56px;}
#gpio a {
2016-11-01 08:15:41 +08:00
display:block;
position:relative;
font-size:15px;
line-height:23px;
height:22px;
margin-bottom:2px;
2015-03-22 01:27:02 +08:00
}
2016-10-28 05:51:06 +08:00
#gpio .top a {
2016-11-01 08:15:41 +08:00
width:250px;
border-top-left-radius:13px;
border-bottom-left-radius:13px;
2016-01-31 19:23:30 +08:00
}
2016-10-28 05:51:06 +08:00
#gpio .bottom a {
2016-11-01 08:15:41 +08:00
width:244px;
border-top-right-radius:13px;
border-bottom-right-radius:13px;
2015-03-22 01:27:02 +08:00
}
2016-10-28 05:51:06 +08:00
#gpio a:hover,
#gpio .active a {
2016-11-01 08:15:41 +08:00
background:rgb(245, 243, 237);
color:#063541;
2015-02-25 01:28:00 +08:00
}
2016-10-28 06:00:51 +08:00
#gpio .pin1 a:hover, #gpio .pin1.active a {border-radius:0;}
2016-10-28 05:51:06 +08:00
#gpio li a small {font-size:11px;}
2016-10-28 05:51:06 +08:00
#gpio .overlay-pin a {
2016-11-01 08:15:41 +08:00
background:rgb(235, 230, 211);
color:#063541;
}
2016-10-28 05:51:06 +08:00
#gpio .overlay-pin a:hover {
2016-11-01 08:15:41 +08:00
background:rgb(245, 243, 237);
color:#063541;
}
2016-10-28 05:51:06 +08:00
#gpio .overlay-power .phys {
2016-11-01 08:15:41 +08:00
color:#FFFFFF;
opacity:1;
2016-09-14 09:20:18 +08:00
}
2016-10-28 05:51:06 +08:00
#gpio .overlay-power a {
2016-11-01 08:15:41 +08:00
background:#073642;
color:#FFFFFF;
2016-09-14 09:01:42 +08:00
}
2016-10-28 05:51:06 +08:00
#gpio .overlay-ground .phys {
2016-11-01 08:15:41 +08:00
background:#073642;
color:#FFFFFF;
opacity:1;
position:absolute;
top:0px;
width:20px;
height:22px;
border-radius:11px;
text-indent: 0px;
line-height: 22px;
}
2016-10-28 05:51:06 +08:00
#gpio .bottom .overlay-ground .phys {
2016-11-01 08:15:41 +08:00
padding-right:32px;
right:0;
}
2016-10-28 05:51:06 +08:00
#gpio .top .overlay-ground .phys {
2016-11-01 08:15:41 +08:00
padding-left:31px;
left:0;
}
2016-10-28 05:51:06 +08:00
#gpio .overlay-power a:hover {
2016-11-01 08:15:41 +08:00
background:#268bd2;
}
2016-10-28 05:51:06 +08:00
#gpio .overlay-ground a:hover .phys {
2016-11-01 08:15:41 +08:00
background:#268bd2;
2016-09-14 09:01:42 +08:00
}
2016-09-14 09:29:32 +08:00
2016-10-28 05:51:06 +08:00
#gpio li.overlay-ground span.pin {background:#073642;}
2016-09-14 09:01:42 +08:00
article .pin-hover {cursor:help;}
article .pin-hover:hover {color:#880000;}
2016-09-27 03:00:30 +08:00
article img {max-width:100%;}
2016-10-28 05:51:06 +08:00
#gpio ul li.hover-pin a,
#gpio ul.bottom li.hover-pin a {
2016-11-01 08:15:41 +08:00
color:#FFF;
background:rgba(200,0,0,0.6);
}
2016-10-28 05:51:06 +08:00
#gpio ul.bottom a {
2016-11-01 08:15:41 +08:00
text-indent:10px;
2015-02-25 01:28:00 +08:00
}
2016-10-28 05:51:06 +08:00
#gpio .pin {
2016-11-01 08:15:41 +08:00
display:block;
border:1px solid transparent;
border-radius:50%;
width:16px;
height:16px;
background:#002B36;
position:absolute;
right:2px;
top:2px;
2016-01-31 19:23:30 +08:00
}
2016-10-28 05:51:06 +08:00
#gpio .pin:after {
2016-11-01 08:15:41 +08:00
content:'';
display:block;
border-radius:100%;
background:#FDF6E3;
position:absolute;
left:5px;
top:5px;
width:6px;
height:6px;
font-size:7px;
2016-01-31 19:23:30 +08:00
}
2016-10-28 05:51:06 +08:00
#gpio .top .pin {
2016-11-01 08:15:41 +08:00
left:2px;
top:2px;
2015-02-25 01:28:00 +08:00
}
2016-10-28 05:51:06 +08:00
.bottom .gnd a {color:rgba(233, 229, 210, 0.5);}
.bottom .gnd a:hover {color:rgba(6, 53, 65, 0.5);}
.top .gnd a {color:rgba(6, 53, 65, 0.5);}
2016-10-28 05:51:06 +08:00
#gpio .pin1 .pin {border-radius:0;}
#gpio .pow3v3 .pin {background:#B58900;}
#gpio .pow5v .pin {background:#DC322F;}
#gpio .gpio .pin {background:#859900;}
#gpio .i2c .pin {background:#268BD2;}
#gpio .spi .pin {background:#D33682;}
#gpio .uart .pin {background:#6c71c4;}
2016-10-28 05:51:06 +08:00
#pinbase {
2016-11-01 08:15:41 +08:00
width:58px;
position:absolute;
left:216px;
height:493px;
background:#073642;
top:80px;
2015-02-25 01:28:00 +08:00
}
2016-01-31 05:59:01 +08:00
2015-02-25 01:28:00 +08:00
span.alternate {display:none;}
2016-10-28 05:51:06 +08:00
ol.linenums {margin-left:30px;}
@media (min-width:1200px){
2016-11-01 08:15:41 +08:00
#container {
width:1200px;
}
.board {
right:1200px;
}
#content {
width:700px;
}
.boards-page #content {
width:898px;
}
2015-03-27 22:30:22 +08:00
}