-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
130 lines (122 loc) · 2.51 KB
/
style.css
File metadata and controls
130 lines (122 loc) · 2.51 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/*
Start with some basic styles. Set the font, background colors,
and default padding and margin for the body element.
This sets the stage for the rest of your design.
*/
body {
font-family: sans-serif; /*Arial, sans-serif;*/
font-size: 14px;
background-color: #f4f4f4;
color: #727272;
margin: 0;
padding: 20px;
}
/*
If you have a header, you might want to give it a background color,
change its text color, and maybe add some padding.
*/
header {
background-color: #333;
color: #fff;
padding: 20px 0;
text-align: center;
}
/*
Images
*/
img {
width: 200px;
border-radius: 10px;
float: left;
margin-right: 10px;
}
/*
Links
*/
/* Unvisited link */
a:link {
color: #267CB9;
text-decoration: none; /* Removes underline from links */
transition: color 0.2s ease-in-out, text-decoration 0.2s ease-in-out; /* Smooth transition for color and text-decoration */
}
/* Visited link */
a:visited {
color: #267CB9;
}
/* Mouse over link */
a:hover {
color: #267CB9;
font-weight: bold;
}
/* Selected link
a:active {
color: green;
}*/
/*
If your webpage has a navigation menu, you'll want to style that too.
Here's an example that removes list styling and adds some hover effects for links.
*/
/*nav ul {
list-style-type: none;
padding: 0;
}
nav ul li {
display: inline;
margin-right: 20px;
}
nav ul li a {
text-decoration: none;
color: #fff;
}
nav ul li a:hover {
text-decoration: underline;
}*/
/*
Style Content Sections
For the main content sections of your page, you might want to add some distinct styling,
such as margins, padding, and perhaps a border.
*/
section {
margin: 20px 0;
padding: 20px;
background-color: #fff;
border: 1px solid #ddd;
}
/*
Style Footer
The footer can be styled similarly to the header but perhaps with less emphasis.
*/
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px 0;
position: relative;
bottom: 0;
width: 100%;
}
/*
Responsive Design (Optional)
You might want to make your webpage look good on both desktops and mobile devices.
You can achieve this by using media queries to apply different styles based on the screen size.
*/
@media (max-width: 600px) {
nav ul li {
display: block;
margin: 0;
}
body {
padding: 10px;
}
}
/*
Classes
*/
.titleh1 {
font-weight: bold;
color: #222222;
}
.titleh2 {
font-weight: bold;
color: #393939;
}