-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (95 loc) · 2.24 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
* {
margin: 0;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin: 0;
}
div {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
/* set the height to 200% */
height: 200vh;
/* Stack up some background images
There are 4 images and a gradient */
/* background-image: a, b, c, d, e */
background-image:
url(images/avatars-material/avatars-material-woman-5.png),
url(images/avatars-material/avatars-material-man-1.png),
url(images/avatars-material/avatars-material-man-5.png),
url(images/avatars-material/avatars-material-woman-2.png),
linear-gradient(
45deg,
rgb(255, 99, 71, 0.9),
rgba(255, 217, 0, 0.511)),
url(images/patterns/stormy-sea.png);
/* Set these properties for each image. The order matters! */
background-size: 100px, 200px, 300px, 400px, auto, 30px;
background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat;
background-position:
left 100px top 50px,
right top,
right bottom,
left bottom,
center,
center center;
background-attachment:
fixed,
scroll,
scroll,
scroll,
scroll,
fixed;
}
h1 {
/* position: fixed; */
top: 25vh;
font-size: 6rem;
padding-left: 120px;
background-image: url(images/icons/css-file.png);
background-repeat: no-repeat;
background-position: left center;
background-size: 100px;
}
p.drop-cap {
font-size: 3rem;
width: 400px;
}
/* Create a drop cap with ::first-letter */
p.drop-cap::first-letter {
font-size: 6rem;
font-family: cursive;
margin-right: 0.5rem;
float: left;
line-height: 1.1;
}
.awesome-1, .awesome-2, .awesome-3, .awesome-4 {
font-size: 3rem;
margin: 2rem;
padding: 1rem;
}
.awesome-1 {
width: 100px;
border: 3px solid;
}
.awesome-2 {
width: 200px;
border: 3px solid;
}
.awesome-3 {
width: 150px;
border: 3px solid;
overflow: hidden;
}
.awesome-4 {
width: 250px;
border: 3px solid;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/*
https://css-tricks.com/css-is-awesome/
https://blog.jim-nielsen.com/2021/css-is-in-fact-awesome/ */