This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CSS | |
| /*reset.css*/ | |
| /* RESETS */ | |
| *, | |
| *::before, | |
| *::after { | |
| box-sizing: border-box; | |
| } | |
| *:focus { | |
| outline: 3px dashed #228bec; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Box sizing rules */ | |
| *, | |
| *::before, | |
| *::after { | |
| box-sizing: border-box; | |
| } | |
| /* Prevent font size inflation */ | |
| html { | |
| -moz-text-size-adjust: none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To be added to the Configure method in the Startup.cs in ASP.NET Core app | |
| // public void Configure(IApplicationBuilder app, IHostingEnvironment env) | |
| app.Use((context, next) => | |
| { | |
| context.Response.Headers["Server"] = "Cyberax"; | |
| context.Response.Headers["X-Frame-Options"] = "DENY"; | |
| context.Response.Headers["X-XSS-Protection"] = "1; mode=block"; | |
| context.Response.Headers["X-Content-Type-Options"] = "nosniff"; | |
| context.Response.Headers["Strict-Transport-Security"] = "max-age=31536000"; |