-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
152 lines (136 loc) · 4.46 KB
/
main.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
/* Yeah, @import is slower loading, but it's better for organization's sake.
*/
@import 'demos/styles/transformorigin.css';
@import 'demos/styles/transformsinaction.css';
@import 'demos/styles/perspectiveorigin.css';
@import 'demos/styles/perspective.css';
@import 'demos/styles/backface-and-type.css';
@import 'demos/styles/stackingcontext.css';
@import 'demos/styles/containingblock.css';
.slide section{
position:relative;
}
.slide section:before{background:none;}
.slide header{margin-bottom:2rem;}
/* .slide section:before{
background:none;
} */
.slide h2 a{text-decoration: none;}
.hidden{visibility: hidden;}
#Cover section{
background-color: #c00;
background-image: -o-linear-gradient(bottom, #b00,#f00);
background-image: -moz-linear-gradient(bottom, #b00,#f00);
background-image: -ms-linear-gradient(bottom, #b00,#f00);
background-image:-webkit-linear-gradient(bottom, #b00,#f00);
background-image: linear-gradient(bottom, #b00,#f00);
}
#Cover h2, #Cover h3{
color:#FFF;
text-shadow: 1px 1px 3px #300;
}
#Cover h2 {
font-size:70px;
}
#Cover h3 {
font-size:40px;
text-align:right;
margin-top: 70px;
}
.slide.warning section{
background-color: #fff;
background-image: -o-repeating-linear-gradient(-45deg, #000, #000 35px, rgba(255,236,0,.8) 35px, rgb(255,236,0) 70px),
-o-repeating-linear-gradient(45deg, #000, #000 35px, rgba(255,236,0,.8) 35px, rgb(255,236,0) 70px);
background-image: -moz-repeating-linear-gradient(-45deg, #000, #000 35px, rgba(255,236,0,.8) 35px, rgb(255,236,0) 70px),
-moz-repeating-linear-gradient(45deg, #000, #000 35px, rgba(255,236,0,.8) 35px, rgb(255,236,0) 70px);
background-image: -ms-repeating-linear-gradient(-45deg, #000, #000 35px, rgba(255,236,0,.8) 35px, rgb(255,236,0) 70px),
-ms-repeating-linear-gradient(45deg, #000, #000 35px, rgba(255,236,0,.8) 35px, rgb(255,236,0) 70px);
background-image: -webkit-repeating-linear-gradient(-45deg, #000, #000 35px, rgba(255,236,0,.8) 35px, rgb(255,236,0) 70px),
-webkit-repeating-linear-gradient(45deg, #000, #000 35px, rgba(255,236,0,.8) 35px, rgb(255,236,0) 70px);
background-image: repeating-linear-gradient(-45deg, #000, #000 35px, rgba(255,236,0,.8) 35px, rgb(255,236,0) 70px),
repeating-linear-gradient(45deg, #000, #000 35px, rgba(255,236,0,.8) 35px, rgb(255,236,0) 70px);
background-size: 100% 5rem;
background-repeat: repeat-x;
background-position: top, bottom;
}
.slide.warning section h2{color:#000}
.graphpaper{
background-image: url(images/graphpaper.svg);
background-position: center;
}
.demo.graphpaper{
width:100%;
min-height: 22rem;
border: 1px solid rgba(51,102,153,.5);
padding:0;
background-position:-1px -1px;
}
.center{display:block; margin:auto;}
#WhatAreTransforms > div{
-o-transition: -o-transform 500ms linear 250ms;
}
svg{display:block; margin:auto;}
.right{text-align:right;}
.nowrap{
word-wrap:none;
white-space:nowrap;
}
table{
width:100%;
border:1px solid #ddd;
border-collapse:collapse;
}
thead{
background:#eee;
}
td,th{border:1px solid #ddd;padding:.25rem 1rem}
p.note{
font-size:.9rem;
text-align:right;
}
.note a{color:inherit;}
.twocol{
-khtml-columns: auto 2;
-webkit-columns: auto 2;
-moz-columns: auto 2;
-ms-columns: auto 2;
columns: auto 2; /* Opera */
}
ul.nobullet > li::before{content: ''}
.transex2{
width:150px;
height: 150px;
border:1px dashed #000;
background: url(images/centerx.png) center center no-repeat;
}
.transex2 div{
background: rgba(255,204,0,.5);
text-align:center;
line-height: 150px;
}
#translateexample div{
-webkit-transform: translate(100px,100px);
-o-transform: translate(100px,100px);
-moz-transform: translate(100px,100px);
-ms-transform: translate(100px,100px);
}
.box{
width:200px;
line-height:1.3;
color:#666
}
.box img{width:100%;margin:0}
form{text-align:center}
input[type=number]{ text-align:right; font-size:inherit; width:8rem}
.backfacedemo{
-webkit-perspective-origin: 50% -100px;
-moz-perspective-origin: 50% -100px;
-ms-perspective-origin: 50% -100px;
-o-perspective-origin: 50% -100px;
perspective-origin: 50% -100px;
-webkit-perspective: 500px;
-moz-perspective: 500px;
-ms-perspective: 500px;
-o-perspective: 500px;
perspective: 500px;
}