-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathframe.css
53 lines (50 loc) · 1.85 KB
/
frame.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
body {
-webkit-text-size-adjust: none;
color: #B2D665;
font-size: 1em;
font-family: "Helvetica Neue", Ubuntu, "WenQuanYi Micro Hei", Helvetica, "Hiragino Sans GB", "Microsoft JhengHei", "PMingLiU", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
margin: 0px;
line-height: 1.6em;
padding: 0px;
background-color: #eee;
overflow-x: hidden;
}
.frame {
border-style: solid;
border-color: #2F2D2D #434040 #4F4C4C #434040;
background: #f5f5f5;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#E5E4DF), to(#CDCDC6));
background-image: -webkit-linear-gradient(#E5E4DF, #CDCDC6);
background-image: -moz-linear-gradient(#E5E4DF, #CDCDC6);
background-image: -o-linear-gradient(#E5E4DF, #CDCDC6);
background-image: linear-gradient(#E5E4DF, #CDCDC6);
box-shadow: inset 0 2px 5px rgba(0, 0, 0, .6), 0 5px 2px rgba(0, 0, 0, .1), 0 10px 20px rgba(0, 0, 0, .8);
position: relative;
overflow: hidden;
margin: 10px;
}
.frame::before {
content: "";
position: absolute;
top: -175px;
right: -20%;
width: 400px;
height: 400px;
transform: rotateZ(-40deg);
-webkit-transform: rotateZ(-40deg);
-moz-transform: rotateZ(-40deg);
-o-transform: rotateZ(-40deg);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, .4)), to(rgba(255, 255, 255, 0)));
background-image: -webkit-linear-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
background-image: -moz-linear-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
background-image: -o-linear-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
background-image: linear-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
}
.frame img {
border-width: 2px;
border-style: solid;
border-color: #BBBAB4 #C7C7BF #E5E4DF #C7C7BF;
box-shadow: 0 -1px 1px rgba(0, 0, 0, .1), 0 1px 1px 1px rgba(255, 255, 255, .7);
}