-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
92 lines (79 loc) · 1.2 KB
/
index.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
.class {
}
.container {
display: grid;
grid-template-columns: 33.33% 33.33% 33.33%;
grid-template-rows: 300px 1fr;
}
#smallContainer {
grid-column: 2/3;
}
.card {
background-color: white;
padding: 20px;
border: 1px solid;
padding: 10px;
box-shadow: 5px 10px 18px #888888;
margin: 10px;
}
.card img {
width: 100%;
max-height: 300px;
}
body {
background-color: lightgray;
}
.info {
grid-column: 3/4;
grid-row: 1/2;
padding: 20px;
background-color: navy;
color: white;
font-weight: bold;
margin: 10px;
}
.info > input,
textarea {
width: 100%;
}
#asc_desc {
grid-column: 3/4;
grid-row: 2/3;
height: 150px;
width: 150px;
align-self: center;
justify-self: center;
}
#makePost {
width: 100%;
margin-top: 20px;
}
.date {
font-size: 1em;
font-weight: bold;
color: green;
}
/* The animation code */
@keyframes example {
0% {
background-color: white;
color: navy;
}
50% {
background-color: navy;
color: white;
}
100% {
background-color: white;
color: navy;
}
}
/* The element to apply the animation to */
#mainTitle {
animation-name: example;
animation-duration: 2s;
animation-iteration-count: infinite;
display: flex;
justify-content: center;
align-items: center;
}