-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
120 lines (101 loc) · 2.18 KB
/
style.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
/* font settings */
@import url("https://fonts.googleapis.com/css?family=Inconsolata&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@font-face {
font-family: "Rockwell ";
src: url("assets/rockwell.ttf");
}
@font-face {
font-family: "Rockwell Bold";
src: url("assets/rockwell-bold.ttf");
}
p{
width: 75%;
}
.code{
background:#584c68;
color:#e4e1d0;
}
body {
font: 400 1rem "Source Code Pro";
padding: .3125rem 1.5625rem;
margin: 0;
color: #000;
background-attachment: fixed;
background-color:#a790c6;
background-image:
radial-gradient(at 6% 6%, #6b96c7 0rem, transparent 50%),
radial-gradient(at 100% 48%, #4f69fc4a 0rem, transparent 50%),
radial-gradient(at 25% 26%, #fbcd7e 0rem, transparent 50%),
radial-gradient(at 30% 69%, #ab6385 0rem, transparent 50%),
radial-gradient(at 100% 99%, #9eee90 0rem, transparent 50%),
radial-gradient(at 83% 68%, #c2cf91 0rem, transparent 50%);
}
h1 {
font: 4rem "Rockwell Bold";
letter-spacing: .1875rem;
margin: .625rem 0rem;
background: linear-gradient(140deg, #000 1%, #555 8%, #000 15%);
background-clip: text;
-webkit-text-fill-color: transparent;
}
h2 {
font: 2rem "Rockwell";
}
h3 {
font: 1.125rem "Rockwell";
}
a {
color: #46494C;
font-weight: 500;
text-decoration: none;
}
a:hover {
text-decoration: bold;
}
img {
margin: 0rem;
}
/* image rollover effect */
.img-wrapper {
display: inline-table;
border: .1875rem ridge #000000;
border-radius: .1875rem;
margin-bottom: .625rem;
font-size: 0;
}
.img-wrapper:hover .text_wrapper {
opacity: .99;
}
.img-wrapper:hover img {
opacity: 0.6;
}
.text_wrapper {
opacity: 0;
transition: 0.5s ease;
top: 2.6875rem;
margin-left: 0rem;
margin-top: -18.75rem;
width: 36.375rem;
height: 18.75rem;
}
.preview {
width: 36.375rem;
height: 27.25rem;
}
.top {
font: 100 2.25rem "Source Code Pro";
color: #333;
margin: 0rem;
padding: 0rem;
text-align: center;
background-color: #a0b1c6;
}
.bottom {
font: 600 3.75rem "Source Code Pro";
color: #333;
margin: 0rem;
padding: 0rem;
text-align: center;
background-color: #f7e2bd;
}