Skip to content
This repository was archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
Minor CSS changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinmoris committed Jul 30, 2021
1 parent 3d26051 commit 077e738
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/DustedCodes/BlogPosts/2021_05_24-dotnet-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,5 @@ Finally a list of some useful links:
- [Themes of .NET](https://themesof.net) (High level topics which the .NET team is working on)
- [Sites of .NET](https://sitesof.net) (Find all official .NET pages in one place)
- [Discover .NET](https://discoverdot.net) (.NET community resources)
- [BuiltWithDot.Net](https://builtwithdot.net) (Collection of projects which have been built with .NET)
- [BuiltWithDot.Net](https://builtwithdot.net) (Collection of projects which have been built with .NET)
- [.NET Ketchup](https://dotnetketchup.com) (Collection of weekly .NET news)
13 changes: 13 additions & 0 deletions src/DustedCodes/CSS/mobile.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@
margin-top: 0;
}

body > header h1 {
font-size: 2.2em;
}

body > header h1 > svg {
width: 45px;
height: 45px;
}

body > header h2 {
font-size: .9em;
}

main > article > header > h1 {
font-size: 2.8em;
}
Expand Down
10 changes: 5 additions & 5 deletions src/DustedCodes/CSS/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ body > main,
margin: 1em auto;
padding: 0 20px;
width: 100%;
max-width: 740px;
max-width: 840px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
Expand Down Expand Up @@ -464,8 +464,8 @@ body > header h1 {

body > header h1 > svg {
margin: 0 7px 0 10px;
width: 45px;
height: 45px;
width: 50px;
height: 50px;
fill: var(--col-strong);
}

Expand All @@ -477,13 +477,13 @@ body > header h1 {
margin: 0 0 .5em 0;
font-family: var(--font-logo);
font-weight: 900;
font-size: 2em;
font-size: 2.4em;
}

body > header h2 {
margin: 0;
font-family: var(--font-logo);
font-size: .9em;
font-size: 1em;
font-weight: 400;
color: var(--col-normal);
letter-spacing: .18em;
Expand Down
4 changes: 3 additions & 1 deletion src/DustedCodes/Env.fs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ module Env =
let private strSplitArray (str : string) =
str.Split([| ' '; ','; ';' |], StringSplitOptions.RemoveEmptyEntries)

let private tryConvertFromString<'T when 'T : struct> (cultureInfo : CultureInfo option) (value : string) =
let private tryConvertFromString<'T when 'T : struct>
(cultureInfo : CultureInfo option)
(value : string) =
let culture = defaultArg cultureInfo CultureInfo.CurrentCulture
let converter = TypeDescriptor.GetConverter (typeof<'T>)
try Some (converter.ConvertFromString(null, culture, value) :?> 'T)
Expand Down

0 comments on commit 077e738

Please sign in to comment.