blob: e2823e48e26240d8de760c0f1e669921abdaf43d (
plain)
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
|
* {
/*font-family: 'firacode';*/
text-rendering: optimizeLegibility;
}
body {
margin: 10px 20px;
color: #cccccc;
background: #252525;
background-attachment: fixed !important;
}
h1 {
font-weight: normal;
font-size: 50px;
margin: -10px 0 10px 0;
}
h2 {
font-weight: normal;
font-size: 15px;
}
strong {
font-weight: normal;
}
footer {
position: absolute;
font-size: 12px;
color: #555;
bottom: 0;
left: 0;
right: 0;
padding: 20px;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
footer a {
color: #775;
}
#resistor-query {
font-size: 20px;
border: 1px solid #999;
color: #fff;
background-color: #444;
outline: none;
width: 180px;
}
.resistor-stripe {
width: 80px;
height: 150px;
display: inline-block;
padding: 4px 4px;
}
.resistor-smt {
display: inline-block;
padding: 0px 10px;
font-size: 35px;
background-color: #000;
border-left: 15px solid silver;
border-right: 15px solid silver;
border-top: 1px solid silver;
border-bottom: 1px solid silver;
margin-right: 10px;
}
@media print, screen and (max-width: 520px) {
.resistor-stripe {
width: 55px;
font-size: 80%;
height: 100px;
}
.resistor-smt {
font-size: 25px;
border-left: 12px solid silver;
border-right: 12px solid silver;
}
}
@media print, screen and (max-width: 410px) {
.resistor-stripe {
width: 35px;
font-size: 55%;
height: 70px;
}
.resistor-smt {
font-size: 18px;
border-left: 8px solid silver;
border-right: 8px solid silver;
}
}
@media print, screen and (max-width: 300px) {
.resistor-stripe {
width: 25px;
font-size: 50%;
height: 60px;
padding: 2px;
}
.resistor-smt {
font-size: 13px;
border-left: 6px solid silver;
border-right: 6px solid silver;
padding: 2px 4px;
}
}
@media print, screen and (max-height: 660px) {
.resistor-stripe {
height: 55px;
}
footer {
position: inherit;
padding: 10px 0;
}
}
|