Skip to content

Commit

Permalink
Fix Font
Browse files Browse the repository at this point in the history
Fix Font issue - Add .woff .woff2 .eot
Fix Background - Add cover
Set min-width 800px
  • Loading branch information
sujaykumarh committed Oct 26, 2018
1 parent fbe7861 commit 5e9518d
Show file tree
Hide file tree
Showing 46 changed files with 108 additions and 46 deletions.
12 changes: 8 additions & 4 deletions css/index.css
Expand Up @@ -21,6 +21,8 @@ body, head{
font-weight: 300;
color: #ffffff;
cursor: default;
min-width: 800px;
min-height: 800px;
}

@keyframes shake{
Expand Down Expand Up @@ -176,7 +178,7 @@ body, head{
height: 100%;
background-image: linear-gradient(rgba(195, 175, 222, 0.8), rgba(60, 168, 187, 0.55)), url('../images/bg.png');
background-repeat: no-repeat;
background-size: 100%;
background-size: cover;
}

/** LOGIN SECTION **/
Expand Down Expand Up @@ -276,7 +278,7 @@ body, head{
margin: 10px;
padding: 15px;
font-size: .8rem;
font-family: initial;
font-family: 'Lato';
border-radius: 5px;
background: #555555;
color: #ffffff;
Expand Down Expand Up @@ -343,7 +345,8 @@ body, head{
}

#login-username{
font-family: 'Bai Jamjuree light', sans-serif;
font-family: 'Bai Jamjuree', sans-serif;
font-weight: 300;
}

#login-users button:hover .name{
Expand Down Expand Up @@ -430,7 +433,8 @@ body, head{
}

#clock-time{
font-family: 'Bai Jamjuree extraLight', sans-serif;
font-family: 'Bai Jamjuree', sans-serif;
font-weight: 200;
font-size: 8rem;
padding-right: 80px;
}
Binary file added fonts/BaiJamjuree-Bold.eot
Binary file not shown.
Binary file modified fonts/BaiJamjuree-Bold.ttf
Binary file not shown.
Binary file added fonts/BaiJamjuree-Bold.woff
Binary file not shown.
Binary file added fonts/BaiJamjuree-Bold.woff2
Binary file not shown.
Binary file added fonts/BaiJamjuree-ExtraLight.eot
Binary file not shown.
Binary file modified fonts/BaiJamjuree-ExtraLight.ttf
Binary file not shown.
Binary file added fonts/BaiJamjuree-ExtraLight.woff
Binary file not shown.
Binary file added fonts/BaiJamjuree-ExtraLight.woff2
Binary file not shown.
Binary file added fonts/BaiJamjuree-Light.eot
Binary file not shown.
Binary file modified fonts/BaiJamjuree-Light.ttf
Binary file not shown.
Binary file added fonts/BaiJamjuree-Light.woff
Binary file not shown.
Binary file added fonts/BaiJamjuree-Light.woff2
Binary file not shown.
Binary file added fonts/BaiJamjuree-Medium.eot
Binary file not shown.
Binary file modified fonts/BaiJamjuree-Medium.ttf
Binary file not shown.
Binary file added fonts/BaiJamjuree-Medium.woff
Binary file not shown.
Binary file added fonts/BaiJamjuree-Medium.woff2
Binary file not shown.
Binary file added fonts/BaiJamjuree-Regular.eot
Binary file not shown.
Binary file modified fonts/BaiJamjuree-Regular.ttf
Binary file not shown.
Binary file added fonts/BaiJamjuree-Regular.woff
Binary file not shown.
Binary file added fonts/BaiJamjuree-Regular.woff2
Binary file not shown.
Binary file added fonts/BaiJamjuree-SemiBold.eot
Binary file not shown.
Binary file modified fonts/BaiJamjuree-SemiBold.ttf
Binary file not shown.
Binary file added fonts/BaiJamjuree-SemiBold.woff
Binary file not shown.
Binary file added fonts/BaiJamjuree-SemiBold.woff2
Binary file not shown.
Binary file added fonts/Lato-Black.eot
Binary file not shown.
Binary file modified fonts/Lato-Black.ttf
Binary file not shown.
Binary file added fonts/Lato-Black.woff
Binary file not shown.
Binary file added fonts/Lato-Black.woff2
Binary file not shown.
Binary file added fonts/Lato-Bold.eot
Binary file not shown.
Binary file modified fonts/Lato-Bold.ttf
Binary file not shown.
Binary file added fonts/Lato-Bold.woff
Binary file not shown.
Binary file added fonts/Lato-Bold.woff2
Binary file not shown.
Binary file added fonts/Lato-Hairline.eot
Binary file not shown.
Binary file modified fonts/Lato-Hairline.ttf
Binary file not shown.
Binary file added fonts/Lato-Hairline.woff
Binary file not shown.
Binary file added fonts/Lato-Hairline.woff2
Binary file not shown.
Binary file added fonts/Lato-Light.eot
Binary file not shown.
Binary file modified fonts/Lato-Light.ttf
Binary file not shown.
Binary file added fonts/Lato-Light.woff
Binary file not shown.
Binary file added fonts/Lato-Light.woff2
Binary file not shown.
Binary file added fonts/Lato-Regular.eot
Binary file not shown.
Binary file modified fonts/Lato-Regular.ttf
Binary file not shown.
Binary file added fonts/Lato-Regular.woff
Binary file not shown.
Binary file added fonts/Lato-Regular.woff2
Binary file not shown.
142 changes: 100 additions & 42 deletions fonts/fonts.css
@@ -1,76 +1,134 @@
@import url('font-awesome/all.css');

@font-face{
font-family: 'Bai Jamjuree', sans-serif;
src: ('BaiJamjuree-Regular.ttf');
@font-face {
font-family: 'Lato';
src: url('Lato-Regular.eot');
src: local('Lato Regular'), local('Lato-Regular'),
url('Lato-Regular.eot?#iefix') format('embedded-opentype'),
url('Lato-Regular.woff2') format('woff2'),
url('Lato-Regular.woff') format('woff'),
url('Lato-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face{
font-family: 'Bai Jamjuree extraLight', sans-serif;
src: ('BaiJamjuree-ExtraLight.ttf');
@font-face {
font-family: 'Bai Jamjuree';
src: url('BaiJamjuree-Bold.eot');
src: local('Bai Jamjuree Bold'), local('BaiJamjuree-Bold'),
url('BaiJamjuree-Bold.eot?#iefix') format('embedded-opentype'),
url('BaiJamjuree-Bold.woff2') format('woff2'),
url('BaiJamjuree-Bold.woff') format('woff'),
url('BaiJamjuree-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
font-weight: lighter;
}

@font-face{
font-family: 'Bai Jamjuree light', sans-serif;
src: ('BaiJamjuree-Light.ttf');
@font-face {
font-family: 'Lato';
src: url('Lato-Black.eot');
src: local('Lato Black'), local('Lato-Black'),
url('Lato-Black.eot?#iefix') format('embedded-opentype'),
url('Lato-Black.woff2') format('woff2'),
url('Lato-Black.woff') format('woff'),
url('Lato-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-weight: 300;
}

@font-face{
font-family: 'Bai Jamjuree medium', sans-serif;
src: ('BaiJamjuree-Medium.ttf');
@font-face {
font-family: 'Bai Jamjuree';
src: url('BaiJamjuree-Light.eot');
src: local('Bai Jamjuree Light'), local('BaiJamjuree-Light'),
url('BaiJamjuree-Light.eot?#iefix') format('embedded-opentype'),
url('BaiJamjuree-Light.woff2') format('woff2'),
url('BaiJamjuree-Light.woff') format('woff'),
url('BaiJamjuree-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-weight: 500;
}

@font-face{
font-family: 'Bai Jamjuree semiBold', sans-serif;
src: ('BaiJamjuree-SemiBold.ttf');
@font-face {
font-family: 'Lato';
src: url('Lato-Bold.eot');
src: local('Lato Bold'), local('Lato-Bold'),
url('Lato-Bold.eot?#iefix') format('embedded-opentype'),
url('Lato-Bold.woff2') format('woff2'),
url('Lato-Bold.woff') format('woff'),
url('Lato-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
font-weight: 600;
}

@font-face{
font-family: 'Bai Jamjuree', sans-serif;
src: ('BaiJamjuree-Bold.ttf');
@font-face {
font-family: 'Bai Jamjuree';
src: url('BaiJamjuree-SemiBold.eot');
src: local('Bai Jamjuree SemiBold'), local('BaiJamjuree-SemiBold'),
url('BaiJamjuree-SemiBold.eot?#iefix') format('embedded-opentype'),
url('BaiJamjuree-SemiBold.woff2') format('woff2'),
url('BaiJamjuree-SemiBold.woff') format('woff'),
url('BaiJamjuree-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-weight: bold;
}

@font-face{
@font-face {
font-family: 'Lato';
src: url('Lato-Light.eot');
src: local('Lato-Light'),
url('Lato-Light.eot?#iefix') format('embedded-opentype'),
url('Lato-Light.woff2') format('woff2'),
url('Lato-Light.woff') format('woff'),
url('Lato-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-weight: 100;
src: ('Lato-Hairline.ttf');
}

@font-face{
font-family: 'Lato';
@font-face {
font-family: 'Bai Jamjuree';
src: url('BaiJamjuree-Regular.eot');
src: local('Bai Jamjuree Regular'), local('BaiJamjuree-Regular'),
url('BaiJamjuree-Regular.eot?#iefix') format('embedded-opentype'),
url('BaiJamjuree-Regular.woff2') format('woff2'),
url('BaiJamjuree-Regular.woff') format('woff'),
url('BaiJamjuree-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-weight: 300;
src: ('Lato-Light.ttf');
}

@font-face{
font-family: 'Lato';
@font-face {
font-family: 'Bai Jamjuree';
src: url('BaiJamjuree-Medium.eot');
src: local('Bai Jamjuree Medium'), local('BaiJamjuree-Medium'),
url('BaiJamjuree-Medium.eot?#iefix') format('embedded-opentype'),
url('BaiJamjuree-Medium.woff2') format('woff2'),
url('BaiJamjuree-Medium.woff') format('woff'),
url('BaiJamjuree-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
src: ('Lato-Regular.ttf');
}

@font-face{
font-family: 'Lato';
@font-face {
font-family: 'Lato Hairline';
src: url('Lato-Hairline.eot');
src: local('Lato-Hairline'),
url('Lato-Hairline.eot?#iefix') format('embedded-opentype'),
url('Lato-Hairline.woff2') format('woff2'),
url('Lato-Hairline.woff') format('woff'),
url('Lato-Hairline.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-weight: bold;
src: ('Lato-Bold.ttf');
}

@font-face{
font-family: 'Lato';
@font-face {
font-family: 'Bai Jamjuree';
src: url('BaiJamjuree-ExtraLight.eot');
src: local('Bai Jamjuree ExtraLight'), local('BaiJamjuree-ExtraLight'),
url('BaiJamjuree-ExtraLight.eot?#iefix') format('embedded-opentype'),
url('BaiJamjuree-ExtraLight.woff2') format('woff2'),
url('BaiJamjuree-ExtraLight.woff') format('woff'),
url('BaiJamjuree-ExtraLight.ttf') format('truetype');
font-weight: 200;
font-style: normal;
font-weight: 900;
src: ('Lato-Black.ttf');
}
}

0 comments on commit 5e9518d

Please sign in to comment.