Skip to content

Commit

Permalink
Improved Swetugg#152: Updated colors and favicon for Gbg conference
Browse files Browse the repository at this point in the history
According to new style guide
  • Loading branch information
srosengren committed May 30, 2022
1 parent 6c4c094 commit 819f559
Show file tree
Hide file tree
Showing 35 changed files with 143 additions and 68 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A possibly working sample of this is published to http://swetuggpreview.azureweb

Getting started
---------------
You should be able to start up an empty version of the swetugg site simply by hitting F5 in Visual Studio. This will create a local database using Entity Framework Code First Migrations. However, since the database will be empty you won't be able to actually browse to the frontpage. The first thing you should do is to make sure the database is seeded with a default admin account:
You should be able to start up an empty version of the swetugg site simply by hitting F5 in Visual Studio. This will create a local database using Entity Framework Code First Migrations, if this fails with the error message "failed with the operating system error 2(The system cannot find the file specified.).", then try removing your `App_Data` folder and recreate it from Visual Studio. However, since the database will be empty you won't be able to actually browse to the frontpage. The first thing you should do is to make sure the database is seeded with a default admin account:

### Seed the database
In Visual Studio, open up the Package Manager Console and run:
Expand Down
30 changes: 15 additions & 15 deletions src/Swetugg.Web/Areas/Gbg2022/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@
<link href="//fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">

<meta charset="utf-8">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="apple-touch-icon" sizes="57x57" href="/Content/gbg-2022/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/Content/gbg-2022/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/Content/gbg-2022/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/Content/gbg-2022/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/Content/gbg-2022/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/Content/gbg-2022/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/Content/gbg-2022/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/Content/gbg-2022/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/Content/gbg-2022/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/Content/gbg-2022/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/Content/gbg-2022/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/Content/gbg-2022/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/Content/gbg-2022/favicon-16x16.png">
<link rel="manifest" href="/Content/gbg-2022/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="msapplication-TileImage" content="/Content/gbg-2022/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Swetugg.Web/Content/gbg-2022/apple-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/Swetugg.Web/Content/gbg-2022/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><tile><square70x70logo src="/Content/gbg-2022//ms-icon-70x70.png"/><square150x150logo src="/Content/gbg-2022//ms-icon-150x150.png"/><square310x310logo src="/Content/gbg-2022//ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
60 changes: 30 additions & 30 deletions src/Swetugg.Web/Content/gbg-2022/css/swetugg.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
color: #524149;
background-color: #F2FCFF;
background-color: #FFF;
}
html {
width: 100%;
Expand Down Expand Up @@ -32,7 +32,7 @@ h1 {
position: relative;
letter-spacing: 0.1em;
margin-bottom: 17px;
color: #A30046;
color: #008266;
}
h1.noSubtitle {
margin-bottom: 50px;
Expand Down Expand Up @@ -83,7 +83,7 @@ p {
}
}
a {
color: #A30046;
color: #008266;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
Expand All @@ -92,7 +92,7 @@ a {
a:hover,
a:focus {
text-decoration: none;
color: #3d001a;
color: #001c16;
}
.light {
font-weight: 400;
Expand All @@ -113,7 +113,7 @@ a:focus {
color: #524149;
}
#old-conference a {
color: #F2FCFF;
color: #FFF;
text-decoration: underline;
}
@media (max-width: 650px) {
Expand All @@ -136,7 +136,7 @@ a:focus {
text-transform: uppercase;
font-family: 'Montserrat';
font-size: 14px;
background-color: #A30046;
background-color: #008266;
}
.navbar-brand {
font-family: 'Rock Salt';
Expand All @@ -161,7 +161,7 @@ a:focus {
padding-right: 10px;
}
.navbar-custom a {
color: #F2FCFF;
color: #FFF;
}
.navbar-custom .nav li a {
-webkit-transition: background 0.3s ease-in-out;
Expand All @@ -178,7 +178,7 @@ a:focus {
.navbar-toggle {
padding: 4px 6px;
font-size: 16px;
color: #F2FCFF;
color: #FFF;
}
.navbar-toggle:focus,
.navbar-toggle:active {
Expand All @@ -200,7 +200,7 @@ a:focus {
}*/
.top-nav-collapse {
padding: 0;
background-color: #A30046;
background-color: #008266;
}
/*.top-nav-collapse .navbar-brand {
opacity: 1;
Expand All @@ -215,7 +215,7 @@ a:focus {
height: auto;
padding: 100px 0;
text-align: center;
color: #F2FCFF;
color: #FFF;
background: url(/Content/gbg-2022/img/top2022.jpg);
background-color: #524149;
background-size: cover;
Expand All @@ -239,12 +239,12 @@ a:focus {
}
.brand-heading {
font-size: 40px;
color: #F2FCFF;
color: #FFF;
padding-bottom: 30px;
font-family: 'Rock Salt';
}
.brand-heading small {
color: #F2FCFF;
color: #FFF;
position: relative;
font-size: 40%;
}
Expand Down Expand Up @@ -279,10 +279,10 @@ a:focus {
height: 70px;
margin-top: 15px;
padding: 7px 16px;
border: 2px solid #F2FCFF;
border: 2px solid #FFF;
border-radius: 35px;
font-size: 40px;
color: #F2FCFF;
color: #FFF;
background: transparent;
-webkit-transition: background 0.3s ease-in-out;
-moz-transition: background 0.3s ease-in-out;
Expand All @@ -292,7 +292,7 @@ a:focus {
.btn-circle:hover,
.btn-circle:focus {
outline: none;
color: #F2FCFF;
color: #FFF;
background: rgba(255, 255, 255, 0.1);
}
.page-scroll .btn-circle i.animated {
Expand Down Expand Up @@ -382,7 +382,7 @@ a:focus {
padding: 50px inherit;
color: #524149;
/*background: url(../img/downloads-bg.jpg) no-repeat center center scroll;*/
background-color: #F2FCFF;
background-color: #FFF;
background-size: cover;
text-align: left;
padding-top: 0px;
Expand Down Expand Up @@ -461,7 +461,7 @@ table.schema {
font-size: 18px;
}
.schemacell-rad2v2 a {
color: #A30046;
color: #008266;
}
.schemacell-tid {
font-size: 14px;
Expand Down Expand Up @@ -489,11 +489,11 @@ table.schema {
}
footer,
.footer-section {
background-color: #F2FCFF;
background-color: #FFF;
}
.footer-rights-section {
background-color: #524149;
color: #F2FCFF;
color: #FFF;
}
.footer-rights-section a {
color: #FFF7FA;
Expand Down Expand Up @@ -525,28 +525,28 @@ footer,
transition: all 0.3s ease-in-out;
}
.btn-default {
border: 1px solid #A30046;
color: #A30046;
border: 1px solid #008266;
color: #008266;
background-color: transparent;
}
.btn-default:hover,
.btn-default:focus {
border: 1px solid #A30046;
border: 1px solid #008266;
outline: none;
color: #F2FCFF;
background-color: #A30046;
color: #FFF;
background-color: #008266;
}
.intro-body .btn-default {
border: 1px solid #F2FCFF;
color: #F2FCFF;
border: 1px solid #FFF;
color: #FFF;
background-color: transparent;
}
.intro-body .btn-default:hover,
.intro-body .btn-default:focus {
border: 1px solid #F2FCFF;
border: 1px solid #FFF;
outline: none;
color: #A30046;
background-color: #F2FCFF;
color: #008266;
background-color: #FFF;
}
.btn-huge {
padding: 25px;
Expand Down Expand Up @@ -805,7 +805,7 @@ footer {
}
.blockquote-small p {
font-size: 15px;
color: #A30046;
color: #008266;
}
.blockquote-small footer {
padding: 0;
Expand Down
Loading

0 comments on commit 819f559

Please sign in to comment.