-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (120 loc) · 2.57 KB
/
style.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
124
125
126
127
128
129
/* =================
WRITE YOUR CSS HERE.
Check the ⌄ for help with formatting and validating your code.
You must write some CSS to complete this challenge.
===================
*/
*{margin:0px}
body {
font-family: 'Mulish', sans-serif;
text-align: center;
background: linear-gradient(white,#f2e9e4,#FFCAD4);
colour: #22223B;
}
.c-site-header{
text-align:right;
background: #4A4E69;
margin-bottom: 50px;
}
a{
text-decoration:none;
font-size: 40px;
font-weight: bold;
display: inline-block;
padding: 40px;
transition: .3s background;
colour: #C9ADA7;
text-shadow: 0px 0px 10px white;
}
a:hover{
background: #f2e9e4;
colour: #22223B;
}
main{
font-size: 20px;
border: 10px solid #4A4E69;
border-radius: 40px;
margin: 50px 100px;
padding: 40px;
}
.flex{
display:flex;
margin: 40px;
}
img{
height: 500px;
width: 700px;
border: 5px solid #4A4E69;
border-radius: 50%;
padding: 10px;
}
.c-site-footer{
text-align:center;
background: #4A4E69;
margin-top: 70px;
}
a{
text-decoration:none;
font-size: 25px;
font-weight: bold;
display: inline-block;
padding: 40px;
transition: .2s background;
colour: #C9ADA7;
text-shadow: 0px 0px 10px white;
}
#dice_roll {
background-color: #FFCAD4;
border: 10px solid #4A4E69;
padding: 20px;
box-sizing: border-box;
margin: 0 auto;
max-width: 600px;
text-align: left;
}
#dice_roll p {
margin: 10px 0;
}
#dice_roll ul {
list-style-type: none;
padding-left: 0;
}
#dice_roll button {
margin-top: 10px;
}
#Day,
#Night {
font-size: 24px; /* Increase font size */
font-weight: bold;
padding: 10px 20px; /* Increase padding for a larger button area */
background-color: #4A4E69; /* Add a background color */
color: white; /* Set text color */
border: none; /* Remove border */
border-radius: 5px; /* Add rounded corners */
cursor: pointer; /* Change cursor to pointer on hover */
transition: background-color 0.3s ease; /* Add transition effect */
margin: 5px; /* Add some spacing between buttons */
}
#Day:hover,
#Night:hover {
background-color: #22223B; /* Change background color on hover */
}
#cyfproject{
/* background-color: #FFCAD4; */
/* border: 10px solid #4A4E69;
padding: 20px;
box-sizing: border-box;
margin: 0 auto;
max-width: 600px; */
text-align: left;
}
#products{
list-style: none
}
#list_imag{
height: 200px;
width: 400px;
border: 5px solid #4A4E69;
border-radius: 50%;
padding: 10px;
}