-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcenter.html
More file actions
executable file
·91 lines (75 loc) · 1.94 KB
/
center.html
File metadata and controls
executable file
·91 lines (75 loc) · 1.94 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
<!DOCTYPE html>
<html>
<head>
<title>Just Center It!!</title>
<meta charset="UTF-8"><meta>
<script type="text/babel">
</script>
<style type="text/css">
:root {
/* from https://creativexcorner.wordpress.com/2018/03/07/jean-michel-basquiat-one-of-the-last-natural-born-artists/ */
--vivid3: rgb(227, 191, 39);
--vivid1: rgb(29, 60, 171);
--vivid2: rgb(213, 90, 34 );
--dark1: rgb(7, 23, 53);
--light1: rgb(197, 190, 170);
--light2: rgb(222, 223, 223);
}
body {
background-color: var(--light2);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
font-weight: 800;
}
.monde {
/*==f=i=l=l==s=c=r=e=e=n==================*/
background-color: #444;
min-height: 100%;
xmin-width: 1024px;
/* Set up proportionate scaling */
width: 100%;
height: auto;
/* Set up positioning */
position: fixed;
/*==f=i=l=l==s=c=r=e=e=n==END============*/
display: flex; /*(1)VERT*/
flex-direction: row; /*(1)VERT*/
align-items: center; /*(1)VERT*/
justify-content: center; /*(2)HORIZ*/
}
.square-large {
border-radius: 2rem;
border: solid 0.4rem #24d;
height: 28rem;
width: 28rem;
display: flex; /*(1)VERT*/
flex-direction: row; /*(1)VERT*/
align-items: center; /*(1)VERT*/
justify-content: center; /*(2)HORIZ*/
}
.square-small {
border-radius: 2rem;
border: solid 0.4rem yellow;
height: 12rem;
width: 12rem;
display: flex; /*(1)VERT*/
flex-direction: row; /*(1)VERT*/
align-items: center; /*(1)VERT*/
justify-content: center; /*(2)HORIZ*/
}
.core {
color: #f66;
}
</style>
</head>
<body >
<div class="monde">
<div class="square-large">
<div class="square-small">
<p class="core">hotter interior</p>
</div>
</div>
</div>
</body>
</html>