-
Notifications
You must be signed in to change notification settings - Fork 0
/
customize.css
107 lines (102 loc) · 1.75 KB
/
customize.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
/* Make sure you place the base color of the website in a variable */
:root {
--main-color: #07f;
}
/* The main styles */
* {
box-sizing: border-box;
max-width: 100%;
}
html {
scroll-behavior: smooth;
/* For change scroll bar in firefox*/
scrollbar-color: var(--main-color, #07f) #fff;
scrollbar-width: thin; /*or auto*/
}
body {
margin: 0;
padding: 0;
font-family: "Poppins", sans-serif;
}
::selection {
background-color: var(--main-color, #07f);
color: #fff;
}
/* For change scroll bar */
::-webkit-scrollbar {
width: 10px;
height: 5px;
}
::-webkit-scrollbar-track {
background: var(--main-background, #fff);
}
::-webkit-scrollbar-thumb {
background: var(--main-color, #07f);
}
::-webkit-scrollbar-thumb:hover {
border: 1px solid #fff;
}
/* global values */
h1 { font-size: 2.2em; }
p {
line-height: 2;
}
@media (max-width: 500px) {
h1 { font-size: 1.7em; }
p { font-size: 14px; }
}
@media (max-width: 350px) {
h1 { font-size: 1.5em; }
p { font-size: 12px;}
}
ul, ol {
margin: 0;
padding: 0;
}
li { list-style: none; }
a {
text-decoration: none;
user-select: none;
}
nav, footer { user-select: none; }
img {
pointer-events: none;
user-select: none;
}
input {
border: none;
outline: none;
caret-color: var(--main-color, #07f);
}
[type="submit"] {
cursor: pointer;
text-transform: capitalize;
}
textarea {
resize: vertical; /* both */
}
/* Container */
.container {
padding-left: 15px;
padding-right: 15px;
margin-left: auto;
margin-right: auto;
}
/* Small screens */
@media (min-width: 768px) {
.container {
width: 750px;
}
}
/* Medium screens */
@media (min-width: 992px) {
.container {
width: 970px;
}
}
/* Large screens */
@media (min-width: 1200px) {
.container {
width: 1170px;
}
}