-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyleLink.css
More file actions
96 lines (87 loc) · 1.96 KB
/
Copy pathstyleLink.css
File metadata and controls
96 lines (87 loc) · 1.96 KB
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
body, h1, h2 {
margin: 0;
font-family: Verdana, Geneva, Tahoma, sans-serif;
box-sizing: border-box;
--header-height: 40px;
--footer-height: 40px;
}
.header {
text-align: center;
line-height: var(--header-height);
background: blanchedalmond;
height: var(--header-height);
font-size: 18px;
}
main {
background-color: #E25544;
min-height: calc(100vh - var(--header-height) - var(--footer-height));
}
.footer {
text-align: center;
line-height: var(--footer-height);
height: var(--footer-height);
background: #59936C;
}
.container {
margin: 0 auto;
max-width: 1000px;
min-width: 300px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
min-height: calc(100vh - var(--header-height) - var(--footer-height));
}
.frame {
display: flex;
align-items: center;
justify-content: center;
background-color:#ddc;
border:solid 10px #eee;
border-bottom-color:#fff;
border-left-color:#eee;
border-radius:2px;
border-right-color:#eee;
border-top-color:#ddd;
box-shadow:0 0 5px 0 rgba(0,0,0,.25) inset, 0 5px 10px 5px rgba(0,0,0,.25);
box-sizing:border-box;
margin: 10px 10px;
height: 350px;
padding: 10px;
position:relative;
text-align:center;
}
.frame:before {
border-radius:2px;
bottom:-2px;
box-shadow:0 2px 5px 0 rgba(0,0,0,.25) inset;
content:"";
left:-5px;
position:absolute;
right:-2px;
top:-2px;
}
.frame:after {
border-radius:2px;
bottom:-2.5px;
box-shadow: 0 2px 5px 0 rgba(0,0,0,.25);
content:"";
left:-2.5px;
position:absolute;
right:-2.5px;
top:-2.5px;
}
.image {
width: 250px;
height: 300px;
flex: 1 1 auto;
border:solid 2px;
border-bottom-color:#ffe;
border-left-color:#eed;
border-right-color:#eed;
border-top-color:#ccb;
background-image: url(https://user-images.githubusercontent.com/38065883/111769708-31715800-88b2-11eb-822e-990a0816d945.png);
background-size: cover;
background-repeat: no-repeat;
background-position-x: -50px;
}