-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
126 lines (110 loc) · 1.85 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
/* Main Style */
* {
box-sizing: border-box;
}
body {
font-family: "Nunito", sans-serif;
text-rendering: optimizeLegibility;
background: #0f2027; /* fallback for old browsers */
background: -webkit-linear-gradient(
to right,
#2c5364,
#203a43,
#0f2027
); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to right,
#2c5364,
#203a43,
#0f2027
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
color: #fde8cd;
}
li {
list-style: none;
display: inline-block;
}
/* a {
text-decoration: none;
} */
.container {
max-width: 1400px;
margin: 0 auto;
}
/* Styles */
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
nav h1 {
text-align: center;
}
nav h1 a {
color: #fde8cd;
}
#lang {
background-color: #487c7a;
border-radius: 5px;
padding: 5px;
}
#lang a {
text-decoration: none;
color: #fff;
}
.flex {
display: flex;
justify-content: space-evenly;
align-items: center;
}
.flex-col {
flex-direction: column;
}
/* Form style */
#form {
padding: 50px;
}
fieldset {
padding: 1rem;
}
fieldset > * {
margin-bottom: 5px;
}
#reverse_btn {
display: block;
margin: 20px auto 15px;
padding: 15px 25px;
color: teal;
background-color: #487c7a;
color: #fde8cd;
border: 0;
border-radius: 4px;
cursor: pointer;
-webkit-box-shadow: 0px 0px 18px 5px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 0px 0px 18px 5px rgba(0, 0, 0, 0.75);
box-shadow: 0px 0px 18px 5px rgba(0, 0, 0, 0.75);
}
#reverse_btn:hover {
transform: scale(1.2);
transition: all 0.5s ease-in-out;
}
#output {
text-align: center;
}
#output::before {
content: open-quote;
}
#output::after {
content: close-quote;
}
footer {
position: absolute;
bottom: 0;
left: 0;
text-align: center;
width: 100%;
margin-bottom: 50px;
}
footer a {
color: #fde8cd;
}