-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
123 lines (100 loc) · 1.88 KB
/
styles.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
/* Import font from Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Google+Sans|Noto+Sans|Castoro');
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: 'Noto Sans', serif;
background-color: #f9f9f9;
color: #333;
}
.authors {
color: gray;
}
header {
background-color: #662E7D;
color: #fff;
padding: 40px;
text-align: center;
}
header h1 {
margin: 0;
font-size: 2em;
}
main {
padding: 20px;
}
.projects {
display: flex;
flex-direction: column;
gap: 20px;
}
.project-card {
display: flex;
flex-direction: column;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.project-card img {
width: 100%;
height: auto;
}
.project-content {
padding: 20px;
}
.project-content h2 {
margin-top: 0;
color: #00416d;
}
.project-content p {
font-size: 1em;
line-height: 1.6;
}
.project-content a {
text-decoration: none;
color: #00416d;
font-weight: bold;
}
.project-content a:hover {
text-decoration: underline;
}
/* Media query for tablets and larger screens */
@media (min-width: 600px) {
header {
padding: 50px; /* Increased padding */
}
header h1 {
font-size: 3em; /* Increased font size */
}
.project-card {
flex-direction: row;
width: 60%;
margin: 0 auto;
}
.project-card img {
width: 20%;
}
.project-content {
width: 80%;
}
}
/* Media query for desktops and larger screens */
@media (min-width: 992px) {
header {
padding: 60px; /* Further increased padding */
}
header h1 {
font-size: 3.5em; /* Further increased font size */
}
main {
padding: 40px;
}
.project-content p {
font-size: 1.1em;
}
}