-
Notifications
You must be signed in to change notification settings - Fork 16
/
rules.css
86 lines (79 loc) · 1.62 KB
/
rules.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
body {
font-family: 'PT Sans', sans-serif;
font-family: 'Andika New Basic', sans-serif;
background-image: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('images/chess2.jpg');
background-repeat: no-repeat;
overflow-x: hidden;
/* background-size: 1600px 750px; */
background-size: cover;
background-position: center;
margin-bottom: 10%;
background-attachment: fixed;
}
.navbar li a{
color: #eee;
margin-right: 10px;
}
.navbar li a:hover{
color: white !important;
transform: scale(1.2);
}
input[type="submit"]{
background-color: grey;
margin-left: 5px;
padding: 5px;
color: white;
}
input[type="submit"]:active{
background-color: rgb(59, 76, 87);
}
h1 {
text-align: center;
font-size: 3rem;
font-family: 'Roboto', sans-serif;
-webkit-background-clip: text;
background-clip: text;
}
p {
font-family: 'Open Sans', sans-serif;
}
a:visited {
color: crimson;
}
#heading-primary{
color:white;
padding: 40px 0;
}
#subheading{
text-align: center;
color: white;
margin-bottom: 20px;
}
.content{
width:90%;
margin:30px auto;
padding:30px;
background-color: white;
color: black;
}
.content h4{
text-align: center;
padding-bottom: 20px;
}
.content .special-img{
background-image: url("images/kingmovement2.JPG");
background-size: contain;
background-repeat: no-repeat;
height:400px;
padding-bottom:20px;
}
@media(max-width:1000px) {
.navbar li a:hover {
transform: none;
}
}
@media (max-width: 450px){
.content .special-img{
height:250px;
}
}