-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (78 loc) · 1.61 KB
/
Copy pathstyle.css
File metadata and controls
103 lines (78 loc) · 1.61 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
body{
font-family: Arial, sans-serif;
margin-top:80px;
background:#f5f5f5;
}
h1{
color:blue;
}
button{
padding:10px 20px;
font-size:18px;
cursor:pointer;
}
/* CSS Section for Header */
header {
margin-bottom: 32px;
text-align:center;
}
/* CSS Section for Nav */
.nav-list{
display:flex;
gap:16px;
justify-content: center;
padding:32px;
}
.main-nav ul{
list-style-type: none;
padding:0;
margin:0;
}
.main-nav a{
color:black;
text-decoration: none;
padding:12px 12px;
border: 1px solid black;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
display: block;
transition: background-color 0.3s ease,
color 0.3s ease,
transform 0.3s ease,
box-shadow 0.3s ease;
}
.main-nav a:hover {
color: white;
background-color:Darkgray;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
transform: translateY(-4px);
}
/* CSS Section for Main */
.main-section {
margin-top:32px;
display: flex;
flex-direction: column; /* stacks the sections vertically */
align-items: center; /* centers the 70% boxes horizontally */
gap: 16px; /* creates space between the stacked sections */
width: 100%;
}
.lesson-section {
border: 1px solid black;
padding: 32px;
box-sizing: border-box;
width: 60%; /* your requested width */
text-align: center;
}
.example-card
{
}
.example-card img{
height:200px;
width:200px;
padding:12px 0;
}
.change-image img{
text-align: center;
height:300px;
width:200px;
}