-
Notifications
You must be signed in to change notification settings - Fork 2
/
iframe.css
136 lines (132 loc) · 2.94 KB
/
iframe.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
/**** PAGE SPECIFIC STYLES ****/
body {
background-color:#fff;
color:#666;
border:none;
padding:0;
margin:0;
background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Epiphragma_einer_Weinbergschnecke.JPG/220px-Epiphragma_einer_Weinbergschnecke.JPG),
url(http://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Cooked_snails.JPG/220px-Cooked_snails.JPG);
background-repeat: no-repeat;
background-position: 25% 25%, 75% 75%;
}
.doc {
background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/Slug_pic.jpg/220px-Slug_pic.jpg) no-repeat,
url(http://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Slug_in_VanDusen_Botanical_Garden.jpg/220px-Slug_in_VanDusen_Botanical_Garden.jpg) no-repeat 100% 100%,
-webkit-linear-gradient(top, white, rgba(200,200,200,.5), #CCC);
background-size: 100px 50px, 25%, 100%;
}
.block {
position:absolute;
height:100px;
width:100px;
top:0;
border: solid 0 blue;
}
.block1 {
top:50px;
left:900px;
margin:10px 8px 15px 30px;
padding:10px 8px 15px 30px;
background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/Slug_pic.jpg/220px-Slug_pic.jpg),
url(http://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Slug_in_VanDusen_Botanical_Garden.jpg/220px-Slug_in_VanDusen_Botanical_Garden.jpg);
background-repeat:no-repeat;
background-color:#ccc;
background-position:100% 100%, 0 0;
background-size: 70px 50px, 25%, 100%;
box-shadow: 2px 2px 3px 5px rgb(255, 255, 0),
0 0 5px red inset,
3px 3px 10px 12px #ccc;
}
.block2 {
top:200px;
left:825px;
background-color:#eee;
padding: 10px;
margin:20px 30px;
}
.block3 {
top:145px;
left:520px;
background-color:#666;
padding:1px;
margin:1px;
}
.block4 {
top:325px;
left:75px;
background-color:#999;
}
.nav {
overflow:hidden;
background-color:#666;
}
.nav li {
list-style:none;
}
.horiz li {
float:left;
}
.nav a {
float:left;
padding: 6px 12px;
color:#fff;
text-decoration:none;
font-family: Helvetica, Arial, sans-serif;
}
.header, .content {
margin: 100px auto;
width:70%;
}
.content {
padding:20px;
text-shadow: 1px 1px mediumspringgreen;
}
.right {
float:right;
}
.sidenote {
float:left;
width:250px;
}
.sidenote img {
max-width:250px;
}
h1 {
color:#CC0000;
}
/**** CODESIGN STYLES ****/
* {
box-sizing: border-box;
image-rendering: optimizeSpeed;
image-rendering: -webkit-optimize-contrast;
}
.hover, .selected {
outline:dashed 1px rgba(0,0,0,.5);
-webkit-transition: outline ease-in-out .5s;
}
.sleep .hover, .sleep .selected {
outline-color:rgba(0,0,0,0);
}
body.hover, html.hover {
outline:none;
}
#snapTest {
position:absolute;
top:0;
left:0;
width:12px;
height:12px;
background-color:red;
z-index:1000;
display:none;
}
.designMode .active {
-webkit-transition: all ease-in-out .2s;
outline: solid 1px rgba(0, 0, 100, .4);
box-shadow: 0 0 5px rgb(0,0,100);
}
.designMode.sleep .active {
outline: solid 1px rgba(0, 0, 100, 0);
box-shadow: 0 0 5px rgba(0,0,100,0);
}