-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
56 lines (49 loc) · 1003 Bytes
/
Copy pathstyles.css
File metadata and controls
56 lines (49 loc) · 1003 Bytes
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
/* styles.css */
/* Body Background + Font */
body {
background-color: #BD64FF;
font-family: 'Times New Roman', Times, serif;
text-align: center;
}
/* Headings */
h1 {
color: black;
text-align: center;
width: 100%;
}
/* Container for your assignment blocks */
.flex-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
max-width: 1200px;
margin: auto;
}
/* The "assign" sections */
.assign {
background-color: #A5AA7B;
margin: 10px;
padding: 10px;
border-radius: 20px;
border-color: #F0FF63;
width: calc(33.333% - 20px); /* 3 sections per row, adjust as needed */
box-shadow: 8px 8px brown;
display: flex;
flex-direction: column;
align-items: center;
}
/* The images inside .assign */
.assign img {
width: 100%;
max-width: 200px;
margin: 10px auto;
border: 2px solid midnightblue;
}
.assign img:hover {
border: 2px dotted yellow;
}
/* The text details in each .assign block */
.assign-det {
text-align: left;
width: 100%;
}