forked from DigitalHistory/HabermasCode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
139 lines (104 loc) · 2.02 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/* 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;
padding: 10px;
margin: 10px 0px;
}
section {
border-color: rgb(40, 200, 40);
}
/* start the real code here!! */
/* let's not worry about display layouts at the start! */
body {
display: grid;
grid-template-rows: 100px 1fr 200px;
flex-direction: column;
}
main {
display: grid;
grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
gap: 5px;
}
main > * {
padding: 5px;
}
header {
display: flex;
justify-content: center;
}
footer{
}
/* style */
img {
max-width: 65%;
padding:2px;
border: 1px solid black;
margin: 5px;
float: left;
display: inline;
}
h2 {
}
p {
}
p.start {
}
p.main {
}
blockquote {
padding-left: 10px;
margin-left: 5px;
border-left: solid rgba(128,128,128,0.7) 3px;
}
/* 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%;
}