-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (84 loc) · 1.63 KB
/
style.css
File metadata and controls
115 lines (84 loc) · 1.63 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/* just put the borders up here for fun. */
main, section, header, footer {
border-width: 3px;
border-style: solid;
}
header, footer {
border-color: magenta;
}
main {
border-color: #999999;
}
section {
border-color: rgb(40, 200, 40);
}
/* start the real code here!! */
/* let's not worry about display layouts at the start! */
body {
display: flex;
flex-direction: column;
}
main {
display: grid;
grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
flex-grow: 4;
}
header {
}
footer{
}
h2 {
}
p {
}
p.start {
}
p.main {
}
blockquote {
}
/* Transition :-) */
#badnews {transition: all 5s, transform 5s 3s;
margin: inherit;
max-width: inherit;
border: inherit;
font-size: inherit;
}
#badnews:hover {
margin: auto;
max-width:50%;
border: black 10px solid;
background-color: red;
font-size: 3em;
padding: 75px;
border-radius: 30%;
transform: rotate(360deg);
transition: width 6s, margin 6s, all 6s 1s;
}
.button {
transition: all 6s;
}
.hidden {
opacity: 0%;
font-size: 0.6em;
color: inherit;
}
.bugout {
transition: all 8s;
border-radius: 10px;
border: blue 2px solid;
font-size: 1.5em !important;
color: red;
max-width: 50%;
margin:auto;
opacity: 100%;
}
.do-transition {
transition: all 6s;
margin: auto !important;
border: black 10px solid !important;
background-color: #8e0934 !important;
font-size: 5em !important;
transform: skewX(-45deg) translate(40vw, -50vh) rotate(-45deg);
transform-origin: left 90%;
}